mirror of
https://github.com/quitesimpleorg/hs9001.git
synced 2024-11-25 11:42:37 +01:00
CLI: Rename -workdir to -cwd so we have to type less
This commit is contained in:
parent
216e59747c
commit
70e66f47ba
2
main.go
2
main.go
@ -293,7 +293,7 @@ func main() {
|
|||||||
var endTime string
|
var endTime string
|
||||||
var distinct bool = true
|
var distinct bool = true
|
||||||
var retVal int
|
var retVal int
|
||||||
searchCmd.StringVar(&workDir, "workdir", "%", "Search only within this workdir")
|
searchCmd.StringVar(&workDir, "cwd", "%", "Search only within this workdir")
|
||||||
searchCmd.StringVar(&beginTime, "begin", "50 years ago", "Start searching from this timeframe")
|
searchCmd.StringVar(&beginTime, "begin", "50 years ago", "Start searching from this timeframe")
|
||||||
searchCmd.StringVar(&endTime, "end", "now", "End searching from this timeframe")
|
searchCmd.StringVar(&endTime, "end", "now", "End searching from this timeframe")
|
||||||
searchCmd.BoolVar(&distinct, "distinct", true, "Remove consecutive duplicate commands from output")
|
searchCmd.BoolVar(&distinct, "distinct", true, "Remove consecutive duplicate commands from output")
|
||||||
|
Loading…
Reference in New Issue
Block a user