[Home]

Summary:ASTERISK-01107: asterisk command line options need to be in correct order.
Reporter:zoa (zoa)Labels:
Date Opened:2004-02-26 09:27:36.000-0600Date Closed:2011-06-07 14:10:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:e.g. asterisk -rpx will work but asterisk -rxp will say:

No such command 'p' (type 'help' for help)
Comments:By: dant (dant) 2004-02-26 16:25:07.000-0600

Erm, that's how getopt works...

asterisk -rpx <arg> = valid
asterisk -rxp <arg> = invalid
asterisk -rx <arg> -p = valid

etc... You suggesting not using getopt?

By: James Golovich (jamesgolovich) 2004-02-26 20:09:25.000-0600

dant is right.  -x and -C take arguments

By: zoa (zoa) 2004-02-27 04:18:43.000-0600

Aha its due to the parameters...

Closed. (and documented with this :)