aboutsummaryrefslogtreecommitdiff
path: root/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'usage.h')
-rw-r--r--usage.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/usage.h b/usage.h
index 40171fc3d..7bc817fd6 100644
--- a/usage.h
+++ b/usage.h
@@ -338,7 +338,7 @@
338#define echo_example_usage \ 338#define echo_example_usage \
339 "$ echo "Erik is cool"\n" \ 339 "$ echo "Erik is cool"\n" \
340 "Erik is cool\n" \ 340 "Erik is cool\n" \
341 "$ echo -e "Erik\nis\ncool"\n" \ 341 "$ echo -e "Erik\\nis\\ncool"\n" \
342 "Erik\n" \ 342 "Erik\n" \
343 "is\n" \ 343 "is\n" \
344 "cool\n" \ 344 "cool\n" \
@@ -439,7 +439,7 @@
439 "the current directory; default EXPRESSION is '-print'\n" \ 439 "the current directory; default EXPRESSION is '-print'\n" \
440 "\nEXPRESSION may consist of:\n" \ 440 "\nEXPRESSION may consist of:\n" \
441 "\t-follow\t\tDereference symbolic links.\n" \ 441 "\t-follow\t\tDereference symbolic links.\n" \
442 "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN." \ 442 "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n" \
443 "\t-print\t\tPrint (default and assumed).\n" \ 443 "\t-print\t\tPrint (default and assumed).\n" \
444 USAGE_FIND_TYPE( \ 444 USAGE_FIND_TYPE( \
445 "\n\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)" \ 445 "\n\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)" \
@@ -822,7 +822,7 @@
822#define length_full_usage \ 822#define length_full_usage \
823 "Prints out the length of the specified STRING." 823 "Prints out the length of the specified STRING."
824#define length_example_usage \ 824#define length_example_usage \
825 "$ length "Hello"\n" \ 825 "$ length Hello\n" \
826 "5\n" 826 "5\n"
827 827
828#define ln_trivial_usage \ 828#define ln_trivial_usage \
@@ -1204,7 +1204,7 @@
1204 "Formats and prints ARGUMENT(s) according to FORMAT,\n" \ 1204 "Formats and prints ARGUMENT(s) according to FORMAT,\n" \
1205 "Where FORMAT controls the output exactly as in C printf." 1205 "Where FORMAT controls the output exactly as in C printf."
1206#define printf_example_usage \ 1206#define printf_example_usage \
1207 "$ printf "Val=%d\n" 5\n" \ 1207 "$ printf "Val=%d\\n" 5\n" \
1208 "Val=5\n" 1208 "Val=5\n"
1209 1209
1210#define ps_trivial_usage \ 1210#define ps_trivial_usage \
@@ -1366,7 +1366,7 @@
1366#define sort_full_usage \ 1366#define sort_full_usage \
1367 "Sorts lines of text in the specified files" 1367 "Sorts lines of text in the specified files"
1368#define sort_example_usage \ 1368#define sort_example_usage \
1369 "$ echo -e "e\nf\nb\nd\nc\na" | sort\n" \ 1369 "$ echo -e \"e\\nf\\nb\\nd\\nc\\na\" | sort\n" \
1370 "a\n" \ 1370 "a\n" \
1371 "b\n" \ 1371 "b\n" \
1372 "c\n" \ 1372 "c\n" \
@@ -1543,7 +1543,7 @@
1543 USAGE_TFTP_PUT( \ 1543 USAGE_TFTP_PUT( \
1544 "\tput\tPut local file SOURCE to server DEST.\n" \ 1544 "\tput\tPut local file SOURCE to server DEST.\n" \
1545 ) \ 1545 ) \
1546 "\nWhen nameing a server, use the syntax \"server:file\"." 1546 "\nWhen naming a server, use the syntax \"server:file\"."
1547 1547
1548#define touch_trivial_usage \ 1548#define touch_trivial_usage \
1549 "[-c] file [file ...]" 1549 "[-c] file [file ...]"
@@ -1599,11 +1599,11 @@
1599 "[flags] filesystem|directory" 1599 "[flags] filesystem|directory"
1600#define umount_full_usage \ 1600#define umount_full_usage \
1601 "Unmount file systems\n" \ 1601 "Unmount file systems\n" \
1602 "\nFlags:\n" "\t-a:\tUnmount all file systems" \ 1602 "\nFlags:\n" "\t-a\tUnmount all file systems" \
1603 USAGE_MTAB(" in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries") \ 1603 USAGE_MTAB(" in /etc/mtab\n\t-n\tDon't erase /etc/mtab entries") \
1604 "\n\t-r:\tTry to remount devices as read-only if mount is busy" \ 1604 "\n\t-r\tTry to remount devices as read-only if mount is busy" \
1605 USAGE_MOUNT_FORCE("\n\t-f:\tForce filesystem umount (i.e. unreachable NFS server)") \ 1605 USAGE_MOUNT_FORCE("\n\t-f\tForce filesystem umount (i.e. unreachable NFS server)") \
1606 USAGE_MOUNT_LOOP("\n\t-l:\tDo not free loop device (if a loop device has been used)") 1606 USAGE_MOUNT_LOOP("\n\t-l\tDo not free loop device (if a loop device has been used)")
1607#define umount_example_usage \ 1607#define umount_example_usage \
1608 "$ umount /dev/hdc1 \n" 1608 "$ umount /dev/hdc1 \n"
1609 1609
@@ -1633,7 +1633,7 @@
1633 "\t-d\tonly print duplicate lines\n" \ 1633 "\t-d\tonly print duplicate lines\n" \
1634 "\t-u\tonly print unique lines" 1634 "\t-u\tonly print unique lines"
1635#define uniq_example_usage \ 1635#define uniq_example_usage \
1636 "$ echo -e "a\na\nb\nc\nc\na" | sort | uniq\n" \ 1636 "$ echo -e \"a\\na\\nb\\nc\\nc\\na\" | sort | uniq\n" \
1637 "a\n" \ 1637 "a\n" \
1638 "b\n" \ 1638 "b\n" \
1639 "c\n" 1639 "c\n"