$ git diff
diff --git a/doc/snapshot.texi b/doc/snapshot.texi
index 8ebfb78..599742a 100644
--- a/doc/snapshot.texi
+++ b/doc/snapshot.texi
@@ -147,7 +147,7 @@ is compiled. To see the specific ranges allowed for a particular
address@hidden option:
address@hidden
-$ @kbd{tar --show-shapshot-field-ranges}
+$ @kbd{tar --show-snapshot-field-ranges}
This tar's snapshot file field ranges are
(field name => [ min, max ]):
diff --git a/scripts/tar-snapshot-edit b/scripts/tar-snapshot-edit
index d82e648..33af6e6 100755
--- a/scripts/tar-snapshot-edit
+++ b/scripts/tar-snapshot-edit
@@ -409,7 +409,7 @@ sub check_field_values ($) {
}
if ( $msg ne "" ) {
$error_found = 1;
- print "\n shapshot file header:\n";
+ print "\n snapshot file header:\n";
print $msg;
}