GNU Rush |
|
Restricted User Shell |
Sergey Poznyakoff |
remopt
statementThe remopt
statement removes from the command line all
occurrences of the supplied option.
Remove from the command line all occurrences of the short option described by sopt. The sopt argument is the short option letter, optionally followed by a colon if that option takes a mandatory argument, or by two colons if it takes an optional argument.
Optional lopt supplies a long option equivalent to sopt. If no short option equivalent exists, use ‘_’ as sopt, eventually followed by ‘:’ or ‘::’.
For example, to remove all occurrences of the -r
(--root
) option that takes a mandatory argument, use:
remopt r: root
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.