Skip to content

Commit 0459055

Browse files
authored
Use Value instead of DefaultText for default values (#51)
1 parent d306c6c commit 0459055

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func convertCommand() cli.Command {
2929
Name: "to",
3030
Usage: "Output path for LSIF index",
3131
Destination: &convertFlags.to,
32-
DefaultText: "dump.lsif",
32+
Value: "dump.lsif",
3333
},
3434
},
3535
Action: func(c *cli.Context) error {

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ func fromFlag(storage *string) *cli.StringFlag {
5454
Name: "from",
5555
Usage: "Path to SCIP index file",
5656
Destination: storage,
57-
DefaultText: "index.scip",
57+
Value: "index.scip",
5858
}
5959
}

cmd/snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ and symbol information.`,
3131
Name: "to",
3232
Usage: "Path to output directory for snapshot files",
3333
Destination: &snapshotFlags.output,
34-
DefaultText: "scip-snapshot",
34+
Value: "scip-snapshot",
3535
},
3636
},
3737
Action: func(c *cli.Context) error {

0 commit comments

Comments
 (0)