mirror of
https://github.com/emojisum/emojisum.git
synced 2025-08-02 21:30:28 +00:00
main: shorten the parse flag
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
313ec423be
commit
03abb8d479
2 changed files with 4 additions and 4 deletions
4
main.go
4
main.go
|
@ -23,8 +23,8 @@ func main() {
|
|||
}
|
||||
|
||||
var (
|
||||
flParseOpenSSL = flag.Bool("parse-openssl", false, "parse the output of OpenSSL style checksums on stdin (`openssl sha256 ./foo | emojisum -parse-openssl`)")
|
||||
flParseCoreUtils = flag.Bool("parse-coreutils", false, "parse the output of CoreUtils style checksums on stdin (`sha256sum ./foo | emojisum -parse-coreutils`)")
|
||||
flParseOpenSSL = flag.Bool("pb", false, "parse the output of BSD/OpenSSL style checksums on stdin (`openssl sha256 ./foo | emojisum -pb`)")
|
||||
flParseCoreUtils = flag.Bool("pg", false, "parse the output of GNU/CoreUtils style checksums on stdin (`sha256sum ./foo | emojisum -pg`)")
|
||||
)
|
||||
|
||||
func run() error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue