summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-03-28 04:42:34 +0000
committermarcel <marcel@FreeBSD.org>2014-03-28 04:42:34 +0000
commit76165e705c06ef369803528e04ca197734063a2a (patch)
treec97a93dd9f218a620f641d81304bf65fe0c886ec
parent533cda2b92026993e23c410ba270433e3defaf3e (diff)
downloadFreeBSD-src-76165e705c06ef369803528e04ca197734063a2a.zip
FreeBSD-src-76165e705c06ef369803528e04ca197734063a2a.tar.gz
Use :- and not :! for pipes. ! needs to be escaped, which adds to the
hassle.
-rw-r--r--mkimg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkimg.c b/mkimg.c
index 913a756..c4305bb 100644
--- a/mkimg.c
+++ b/mkimg.c
@@ -106,7 +106,7 @@ usage(const char *why)
"size\n");
fprintf(stderr, "\t<t>[/<l>]:=<file>\t- partition content and size "
"are determined\n\t\t\t\t by the named file\n");
- fprintf(stderr, "\t<t>[/<l>]:!<cmd>\t- partition content and size "
+ fprintf(stderr, "\t<t>[/<l>]:-<cmd>\t- partition content and size "
"are taken from\n\t\t\t\t the output of the command to run\n");
fprintf(stderr, "\t where:\n");
fprintf(stderr, "\t\t<t>\t- scheme neutral partition type\n");
@@ -144,7 +144,7 @@ pwr_of_two(u_int nr)
* kind the interpretation of the contents specification
* ':' contents holds the size of an empty partition
* '=' contents holds the name of a file to read
- * '!' contents holds a command to run; the output of
+ * '-' contents holds a command to run; the output of
* which is the contents of the partition.
* contents the specification of a partition's contents
*/
@@ -185,7 +185,7 @@ parse_part(const char *spec)
case '=':
part->kind = PART_KIND_FILE;
break;
- case '!':
+ case '-':
part->kind = PART_KIND_PIPE;
break;
default:
OpenPOWER on IntegriCloud