Fix comment: short options can have optional arguments.

This commit is contained in:
Rob Landley 2022-07-12 05:20:02 -05:00
parent 10f0b1a378
commit df627c90b4

View File

@ -65,7 +65,7 @@
// % time offset in milliseconds with optional s/m/h/d suffix
// (longopt)
// | this is required. If more than one marked, only one required.
// ; long option's argument is optional (can only be supplied with --opt=)
// ; Option's argument is optional, and must be collated: -aARG or --a=ARG
// ^ Stop parsing after encountering this argument
// " " (space char) the "plus an argument" must be separate
// I.E. "-j 3" not "-j3". So "kill -stop" != "kill -s top"