The file matching options are now only accepted by commands that can actually use them.
This commit is contained in:
parent
52424dc382
commit
8066a1c3cc
24 changed files with 118 additions and 77 deletions
|
@ -39,7 +39,7 @@ cmd = [withOptions options $
|
|||
command "log" paramPaths seek SectionQuery "shows location log"]
|
||||
|
||||
options :: [Option]
|
||||
options = passthruOptions ++ [gourceOption]
|
||||
options = passthruOptions ++ [gourceOption] ++ annexedMatchingOptions
|
||||
|
||||
passthruOptions :: [Option]
|
||||
passthruOptions = map odate ["since", "after", "until", "before"] ++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue