Improve help
This commit is contained in:
parent
1813d67e10
commit
bbb9fd83ae
@ -29,4 +29,4 @@ executable skeleton
|
|||||||
build-depends: base >=4.8 && <= 5.0, filepath, process,
|
build-depends: base >=4.8 && <= 5.0, filepath, process,
|
||||||
attoparsec, bytestring, hex, time,
|
attoparsec, bytestring, hex, time,
|
||||||
argparser
|
argparser
|
||||||
|
ghc-options: -O2
|
||||||
|
@ -61,14 +61,14 @@ parser = ProgArgs
|
|||||||
`parsedBy` reqPos "term" `Descr` "Keychain search term"
|
`parsedBy` reqPos "term" `Descr` "Keychain search term"
|
||||||
`andBy` optFlag "" "keychain" `Descr` "Use a specific keychain (default: all except System)"
|
`andBy` optFlag "" "keychain" `Descr` "Use a specific keychain (default: all except System)"
|
||||||
`andBy` optFlag "" "exact" `Descr` "Return exact matches with the given class"
|
`andBy` optFlag "" "exact" `Descr` "Return exact matches with the given class"
|
||||||
`andBy` optFlag 10 "limit" `Descr` "Set upper results limit (0: unlimited)"
|
`andBy` optFlag 10 "limit" `Descr` "Set upper results limit (default: 10, 0: unlimited)"
|
||||||
`andBy` boolFlag "content" `Descr` "Print only the items content"
|
`andBy` boolFlag "content" `Descr` "Print only the items content"
|
||||||
`andBy` boolFlag "clipboard" `Descr` "Disable clipboard paste"
|
`andBy` boolFlag "clipboard" `Descr` "Disable paste to clipboard"
|
||||||
|
|
||||||
interface :: IO (CmdLnInterface ProgArgs)
|
interface :: IO (CmdLnInterface ProgArgs)
|
||||||
interface =
|
interface =
|
||||||
(`setAppDescr` "Quickly access the OSX keychain") <$>
|
(`setAppDescr` "Quickly access the OSX keychain") <$>
|
||||||
(`setAppEpilog` "the skeleton key") <$>
|
(`setAppEpilog` "The skeleton key") <$>
|
||||||
mkApp parser
|
mkApp parser
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
Loading…
Reference in New Issue
Block a user