Skip to content

Commit 254ff0b

Browse files
authored
fix: update flag usage text to be more accurate (#89)
1 parent 14b3d5e commit 254ff0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ func findAllLockfiles(r *reporter.Reporter, pathsToCheck []string, parseAs strin
156156
}
157157

158158
func run() int {
159-
offline := flag.Bool("offline", false, "Update the OSV database")
160-
parseAs := flag.String("parse-as", "", "Name of a supported lockfile to use to determine how to parse the given file")
159+
offline := flag.Bool("offline", false, "Perform checks using only the cached databases on disk")
160+
parseAs := flag.String("parse-as", "", "Name of a supported lockfile to parse the input files as")
161161
printVersion := flag.Bool("version", false, "Print version information")
162-
listEcosystems := flag.Bool("list-ecosystems", false, "List all the ecosystems present in the loaded OSV database")
163-
listPackages := flag.Bool("list-packages", false, "List all the packages that were parsed from the given file")
162+
listEcosystems := flag.Bool("list-ecosystems", false, "List all of the known ecosystems that are supported by the detector")
163+
listPackages := flag.Bool("list-packages", false, "List the packages that are parsed from the input files")
164164
cacheAllDatabases := flag.Bool("cache-all-databases", false, "Cache all the known ecosystem databases for offline use")
165165
outputAsJSON := flag.Bool("json", false, "Output the results in JSON format")
166166

0 commit comments

Comments
 (0)