siggen: fixed command line bugs