We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0e1bf6 commit b177a75Copy full SHA for b177a75
config.go
@@ -8,11 +8,13 @@ import (
8
"golang.org/x/crypto/ssh/terminal"
9
)
10
11
+type Files struct {
12
+ LHS string `positional-arg-name:"FILE_1"`
13
+ RHS string `positional-arg-name:"FILE_2"`
14
+}
15
+
16
type config struct {
- Files struct {
- LHS string `positional-arg-name:"FILE_1"`
- RHS string `positional-arg-name:"FILE_2"`
- } `positional-args:"yes" required:"yes"`
17
+ Files Files `positional-args:"yes" required:"yes"`
18
Ignore ignorePatterns `long:"ignore" short:"i" description:"paths to ignore (glob)"`
19
output
20
OutputReport bool `long:"report" short:"r" description:"output report format"`
0 commit comments