diff options
| author | Eric Biggers <ebiggers@google.com> | 2023-09-09 11:30:45 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2023-09-09 11:30:45 -0700 |
| commit | e663a3ee2287be77dcd44631b29147a1eddcb4f0 (patch) | |
| tree | 07f2f6d6cd79d6f892c11d7ab808ae0372d4444d /cmd/fscrypt/format.go | |
| parent | c999f0b04c526a85d061a7461c0e4211e94f9fb7 (diff) | |
Re-run 'make format' with latest version of gofmt
Diffstat (limited to 'cmd/fscrypt/format.go')
| -rw-r--r-- | cmd/fscrypt/format.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/fscrypt/format.go b/cmd/fscrypt/format.go index 28cc22d..21253ad 100644 --- a/cmd/fscrypt/format.go +++ b/cmd/fscrypt/format.go @@ -82,8 +82,10 @@ type prettyFlag interface { } // How a flag should appear on the command line. We have two formats: -// --name -// --name=ARG_NAME +// +// --name +// --name=ARG_NAME +// // The ARG_NAME appears if the prettyFlag's GetArgName() method returns a // non-empty string. The returned string from shortDisplay() does not include // any leading or trailing whitespace. @@ -96,13 +98,12 @@ func shortDisplay(f prettyFlag) string { // How our flags should appear when displaying their usage. An example would be: // -// --help Prints help screen for commands and subcommands. +// --help Prints help screen for commands and subcommands. // // If a default is specified, then it is appended to the usage. Example: // -// --time=TIME Calibrate passphrase hashing to take the -// specified amount of TIME (default: 1s) -// +// --time=TIME Calibrate passphrase hashing to take the +// specified amount of TIME (default: 1s) func longDisplay(f prettyFlag, defaultString ...string) string { usage := f.GetUsage() if len(defaultString) > 0 { |