From 9e1c51e9c931c541dab30083a65551a5e1859704 Mon Sep 17 00:00:00 2001 From: alpreu Date: Thu, 5 Oct 2017 11:20:54 +0200 Subject: [PATCH] shasum: long form arguments, typo fixed --- pages/linux/shasum.md | 8 ++++---- pages/osx/shasum.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/linux/shasum.md b/pages/linux/shasum.md index c8a86d7ab23e42..64e658ea8bd02a 100644 --- a/pages/linux/shasum.md +++ b/pages/linux/shasum.md @@ -8,15 +8,15 @@ - Calculate the SHA256 checksum for a file: -`shasum -a 256 {{filename}}` +`shasum --algorithm 256 {{filename}}` - Calculate the SHA512 checksum for multiple files: -`shasum -a 512 {{filename1}} {{filename2}}` +`shasum --algorithm 512 {{filename1}} {{filename2}}` -- Check a file with a list of sums against the directorys files: +- Check a file with a list of sums against the directory's files: -`shasum -c {{list_file}}` +`shasum --check {{list_file}}` - Calculate the SHA1 checksum from stdin: diff --git a/pages/osx/shasum.md b/pages/osx/shasum.md index c8a86d7ab23e42..64e658ea8bd02a 100644 --- a/pages/osx/shasum.md +++ b/pages/osx/shasum.md @@ -8,15 +8,15 @@ - Calculate the SHA256 checksum for a file: -`shasum -a 256 {{filename}}` +`shasum --algorithm 256 {{filename}}` - Calculate the SHA512 checksum for multiple files: -`shasum -a 512 {{filename1}} {{filename2}}` +`shasum --algorithm 512 {{filename1}} {{filename2}}` -- Check a file with a list of sums against the directorys files: +- Check a file with a list of sums against the directory's files: -`shasum -c {{list_file}}` +`shasum --check {{list_file}}` - Calculate the SHA1 checksum from stdin: