@@ -115,8 +115,8 @@ parseCommand = command "parse" (info parseArgumentsParser (progDesc "Generate pa
115115 <*> option shaReader (long " sha" <> help " The commit SHA1 to read from" )
116116 <*> ( ExcludePaths <$> many (option str (long " exclude" <> short ' x' <> help " Paths to exclude" ))
117117 <|> ExcludeFromHandle <$> flag' stdin (long " exclude-stdin" <> help " Exclude paths given to stdin" )
118- <|> OnlyPaths <$> many (option str (long " only" <> help " Only include the specified paths" ))
119- <|> OnlyPathsFromHandle <$> flag' stdin (long " only-stdin" <> help " Include only the paths given to stdin" ))
118+ <|> IncludePaths <$> many (option str (long " only" <> help " Only include the specified paths" ))
119+ <|> IncludePathsFromHandle <$> flag' stdin (long " only-stdin" <> help " Include only the paths given to stdin" ))
120120 <|> FilesFromPaths <$> some (argument filePathReader (metavar " FILES..." ))
121121 <|> pure (FilesFromHandle stdin)
122122 pure $ Task. readBlobs filesOrStdin >>= renderer
@@ -134,8 +134,8 @@ tsParseCommand = command "ts-parse" (info tsParseArgumentsParser (progDesc "Gene
134134 <*> option shaReader (long " sha" <> help " The commit SHA1 to read from" )
135135 <*> ( ExcludePaths <$> many (option str (long " exclude" <> short ' x' <> help " Paths to exclude" ))
136136 <|> ExcludeFromHandle <$> flag' stdin (long " exclude-stdin" <> help " Exclude paths given to stdin" )
137- <|> OnlyPaths <$> many (option str (long " only" <> help " Only include the specified paths" ))
138- <|> OnlyPathsFromHandle <$> flag' stdin (long " only-stdin" <> help " Include only the paths given to stdin" ))
137+ <|> IncludePaths <$> many (option str (long " only" <> help " Only include the specified paths" ))
138+ <|> IncludePathsFromHandle <$> flag' stdin (long " only-stdin" <> help " Include only the paths given to stdin" ))
139139 <|> FilesFromPaths <$> some (argument filePathReader (metavar " FILES..." ))
140140 <|> pure (FilesFromHandle stdin)
141141 pure $ Task. readBlobs filesOrStdin >>= AST. runASTParse format
0 commit comments