on master help sign in
command: Add help to ob init options
commit08dfa46b7b5f8b5d77487ecd756f0a2f62425b64 authorElliot Cameron <eacameron@gmail.com> dateWed 22 Apr 2020, 20:51 (7 years ago) parentbd4fc6d
1 file changed+2−2
lib/command/src/Obelisk/Command.hs+2−2
lib/command/src/Obelisk/Command.hs+2−2
@@ -74,8 +74,8 @@ argsInfo cfg = info (args cfg <**> helper) $ mconcat
7474initSource :: Parser InitSource
7575initSource = foldl1 (<|>)
7676 [ pure InitSource_Default
77− , InitSource_Branch <$> strOption (long "branch" <> metavar "BRANCH")
78− , InitSource_Symlink <$> strOption (long "symlink" <> action "directory" <> metavar "PATH")
77+ , InitSource_Branch <$> strOption (long "branch" <> metavar "BRANCH" <> help "Initialize the project using the given BRANCH of Obelisk's official repository")
78+ , InitSource_Symlink <$> strOption (long "symlink" <> action "directory" <> metavar "PATH" <> help "(Use with caution) Initialize the project using the copy of Obelisk found at the given PATH")
7979 ]
8080
8181initForce :: Parser Bool