add '-J/--resolve-json' command-line option (#5864)
This commit is contained in:
@@ -293,9 +293,14 @@ def build_parser():
|
||||
)
|
||||
output.add_argument(
|
||||
"-j", "--dump-json",
|
||||
dest="jobtype", action="store_const", const=job.DataJob,
|
||||
dest="dump_json", action="count",
|
||||
help="Print JSON information",
|
||||
)
|
||||
output.add_argument(
|
||||
"-J", "--resolve-json",
|
||||
dest="dump_json", action="store_const", const=128,
|
||||
help="Print JSON information; resolve intermediary URLs",
|
||||
)
|
||||
output.add_argument(
|
||||
"-s", "--simulate",
|
||||
dest="jobtype", action="store_const", const=job.SimulationJob,
|
||||
|
||||
Reference in New Issue
Block a user