We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c5f017 commit 339079eCopy full SHA for 339079e
cmd/iffmaster/main.go
@@ -4,11 +4,13 @@
4
/*
5
Iffmaster is a tool to inspect IFF files as defined under EA-85.
6
7
-Usage: [options]
+Usage: [options] filename
8
9
iffmaster
10
11
-version: Show the application's version.
12
+
13
+ filename: The IFF file to inspect (optional).
14
*/
15
package main
16
@@ -24,6 +26,13 @@ func main() {
24
26
var filename string
25
27
28
showVersion := flag.Bool("version", false, "Display the version of iffmaster")
29
+ flag.Usage = func() {
30
+ fmt.Fprintf(flag.CommandLine.Output(),
31
+ "Usage: %s [options] filename\n", os.Args[0])
32
+ flag.PrintDefaults()
33
34
+ "\n filename: The IFF file to inspect (optional).\n")
35
+ }
36
flag.Parse()
37
38
if *showVersion {
0 commit comments