Skip to content

Commit 02daad1

Browse files
author
Cerem Cem ASLAN
committed
"--pretty" parameter is hidden regarding to sysnux#15
1 parent 3ccfa5e commit 02daad1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ Usage
2626
-a, --by_path Group commands by path
2727
-s, --csv CSV output
2828
-j, --json JSON output (commands only)
29-
--pretty Pretty print the JSON output (Requires --json option)
3029
-b, --bogus Add bogus renamed_from action (used only when grouping by path)
3130

3231

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

3635
* `--csv` (`-s`) will produce on line for each modification, instead of
3736
formatted output: the first column is the path, then each action taken on the

btrfs-snapshots-diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def main():
569569
'-j', '--json', action='store_true', help='JSON output (commands only)'
570570
)
571571
parser.add_argument(
572-
'--pretty', action='store_true', help='Pretty print the JSON output'
572+
'--pretty', action='store_true', help=argparse.SUPPRESS
573573
)
574574
parser.add_argument(
575575
'-b',

0 commit comments

Comments
 (0)