./birdbot: option '--help' requires an argument
Option -h
funguje správně:
# ./birdbot -h
Send commands to BIRD via XMPP.
-d | --debug
Debug mode. Program will display debugging information instead of going to background.
-4 | --force-ipv4
Force IPv4 resolution of XMPP server hostname.
-s | --nossl
Disable use of SSL connection with XMPP server.
-j | --jid
Specify BIRDbot's bare JID. This option overrides JID set in the configuration file.
-w | --pass
Specify BIRDbot's XMPP password. This option overrides password set in the configuration file.
-c | --socket
Set BIRD control socket.
-h | --help
Display this help and exit.
Exiting.
Ale dlouhá verze --help
vyžaduje argument.
# ./birdbot --help
./birdbot: option '--help' requires an argument