Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f4ecf7a

Browse files
committedDec 9, 2024·
Enhance command-line flag descriptions for file command with examples
Signed-off-by: HAHWUL <[email protected]>
1 parent 138ada5 commit f4ecf7a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎cmd/file.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ func printFileErrorAndUsage() {
190190

191191
func init() {
192192
rootCmd.AddCommand(fileCmd)
193-
fileCmd.Flags().Bool("rawdata", false, "[FORMAT] Using req rawdata from Burp/ZAP")
194-
fileCmd.Flags().Bool("har", false, "[FORMAT] Using HAR format")
195-
fileCmd.Flags().Bool("http", false, "Using force http on rawdata mode")
196-
fileCmd.Flags().Bool("multicast", false, "Parallel scanning N*Host mode (show only poc code)")
197-
fileCmd.Flags().Bool("mass", false, "Parallel scanning N*Host mode (show only poc code)")
198-
fileCmd.Flags().Bool("silence-force", false, "Only print PoC (not print progress)")
199-
fileCmd.Flags().Int("mass-worker", 10, "Parallel worker of --mass and --multicast option")
193+
fileCmd.Flags().Bool("rawdata", false, "[FORMAT] Use raw data from Burp/ZAP. Example: --rawdata")
194+
fileCmd.Flags().Bool("har", false, "[FORMAT] Use HAR format. Example: --har")
195+
fileCmd.Flags().Bool("http", false, "Force HTTP on raw data mode. Example: --http")
196+
fileCmd.Flags().Bool("multicast", false, "Enable parallel scanning in N*Host mode (only shows PoC code). Example: --multicast")
197+
fileCmd.Flags().Bool("mass", false, "Enable parallel scanning in N*Host mode (only shows PoC code). Example: --mass")
198+
fileCmd.Flags().Bool("silence-force", false, "Only print PoC code, suppress progress output. Example: --silence-force")
199+
fileCmd.Flags().Int("mass-worker", 10, "Set the number of parallel workers for --mass and --multicast options. Example: --mass-worker 10")
200200
}

0 commit comments

Comments
 (0)
Please sign in to comment.