...
This commit is contained in:
parent
d106f3a7c3
commit
09da5dcd02
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ func (flags *Flags) Parse() {
|
||||||
flags.parsedArgs = flags.FlagSet.Args()
|
flags.parsedArgs = flags.FlagSet.Args()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (flags *Flags) AllArgs() []string {
|
||||||
|
return flags.args
|
||||||
|
}
|
||||||
|
|
||||||
func (flags *Flags) Args() []string {
|
func (flags *Flags) Args() []string {
|
||||||
return flags.parsedArgs
|
return flags.parsedArgs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue