ArgsLenAtDash will return the length of f.Args at the moment when a -- was found during arg parsing. This allows your program to know which args were before the -- and which came after.
()
| 425 | // found during arg parsing. This allows your program to know which args were |
| 426 | // before the -- and which came after. |
| 427 | func (f *FlagSet) ArgsLenAtDash() int { |
| 428 | return f.argsLenAtDash |
| 429 | } |
| 430 | |
| 431 | // MarkDeprecated indicated that a flag is deprecated in your program. It will |
| 432 | // continue to function but will not show up in help or usage messages. Using |
no outgoing calls