Skip to content

removed jq dependency #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
"--pretty" parameter is hidden regarding to #15
  • Loading branch information
Cerem Cem ASLAN committed Jan 14, 2021
commit 02daad1fa7e42837ecdc680411d62d1ab74d476c
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ Usage
-a, --by_path Group commands by path
-s, --csv CSV output
-j, --json JSON output (commands only)
--pretty Pretty print the JSON output (Requires --json option)
-b, --bogus Add bogus renamed_from action (used only when grouping by path)


* `--json` (`-j`), available for commands only, will output a list of
commands in JSON format. `--pretty` switch requires this option.
commands in JSON format.

* `--csv` (`-s`) will produce on line for each modification, instead of
formatted output: the first column is the path, then each action taken on the
Expand Down
2 changes: 1 addition & 1 deletion btrfs-snapshots-diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def main():
'-j', '--json', action='store_true', help='JSON output (commands only)'
)
parser.add_argument(
'--pretty', action='store_true', help='Pretty print the JSON output'
'--pretty', action='store_true', help=argparse.SUPPRESS
)
parser.add_argument(
'-b',
Expand Down