1
0
Fork 0
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:
Vincent Batts 2018-01-27 06:13:56 -05:00
parent 313ec423be
commit 03abb8d479
Signed by: vbatts
GPG key ID: 10937E57733F1362
2 changed files with 4 additions and 4 deletions

View file

@ -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 {