@@ -115,8 +115,8 @@ parseCommand = command "parse" (info parseArgumentsParser (progDesc "Generate pa
115
115
<*> option shaReader (long " sha" <> help " The commit SHA1 to read from" )
116
116
<*> ( ExcludePaths <$> many (option str (long " exclude" <> short ' x' <> help " Paths to exclude" ))
117
117
<|> 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" ))
120
120
<|> FilesFromPaths <$> some (argument filePathReader (metavar " FILES..." ))
121
121
<|> pure (FilesFromHandle stdin)
122
122
pure $ Task. readBlobs filesOrStdin >>= renderer
@@ -134,8 +134,8 @@ tsParseCommand = command "ts-parse" (info tsParseArgumentsParser (progDesc "Gene
134
134
<*> option shaReader (long " sha" <> help " The commit SHA1 to read from" )
135
135
<*> ( ExcludePaths <$> many (option str (long " exclude" <> short ' x' <> help " Paths to exclude" ))
136
136
<|> 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" ))
139
139
<|> FilesFromPaths <$> some (argument filePathReader (metavar " FILES..." ))
140
140
<|> pure (FilesFromHandle stdin)
141
141
pure $ Task. readBlobs filesOrStdin >>= AST. runASTParse format
0 commit comments