Skip to content

Commit

Permalink
feat(cli): file is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLucqs committed Aug 5, 2022
1 parent 32a282c commit 053604c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Examples of these are:
### Rule names
Obtain the names of the currently implemented rules with:
```bash
amarna --show-rules .
amarna --show-rules
```

### Rule allowlist
Expand Down
1 change: 1 addition & 0 deletions amarna/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def main() -> int:
metavar="-f",
type=str,
help="the name of the .cairo file or directory with .cairo files to analyze",
nargs="?"
)

parser.add_argument("-p", "--print", action="store_true", help="print output")
Expand Down

0 comments on commit 053604c

Please sign in to comment.