We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98666b9 commit 1734307Copy full SHA for 1734307
dissect/target/tools/query.py
@@ -123,12 +123,12 @@ def main() -> int:
123
"The --rewrite-cache option will be ignored as --no-cache or --only-read-cache are specified",
124
)
125
126
- if not args.targets:
127
- parser.error("too few arguments - missing targets")
128
-
129
# Process plugin argments after host and child args are checked
130
different_output_types = process_plugin_arguments(parser, args, rest)
131
+ if not args.targets:
+ parser.error("too few arguments - missing targets")
+
132
if args.report_dir and not args.report_dir.is_dir():
133
parser.error(f"--report-dir {args.report_dir} is not a valid directory")
134
0 commit comments