summaryrefslogtreecommitdiff
path: root/src/commands/dd.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-30 15:51:58 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-30 15:51:58 -0400
commitfa3b1ef74882597d7e809fc0924bf5d66114f535 (patch)
treef6a8b194dfb40cd27bf9a8ab2bb5153b93ccddef /src/commands/dd.c
parentfinish ed (diff)
downloadlazysphere-fa3b1ef74882597d7e809fc0924bf5d66114f535.tar.gz
lazysphere-fa3b1ef74882597d7e809fc0924bf5d66114f535.tar.bz2
lazysphere-fa3b1ef74882597d7e809fc0924bf5d66114f535.zip
update help messages and use addressing range for ed s command
Diffstat (limited to '')
-rw-r--r--src/commands/dd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/dd.c b/src/commands/dd.c
index 8acde7d..87c9eb8 100644
--- a/src/commands/dd.c
+++ b/src/commands/dd.c
@@ -4,10 +4,10 @@
static void help() {
printf("Usage: dd [if=FILE] [of=FILE] [bs=N] [count=N]\n\n");
printf("Copy a file with converting and formatting\n\n");
- printf("if=FILE\t\tRead from FILE instead of stdin\n");
- printf("of=FILE\t\tWrite to FILE instead of stdout\n");
- printf("bs=N\t\tRead and write N bytes at a time\n");
- printf("count=N\t\tCopy only N input blocks\n");
+ printf("\tif=FILE\t\tRead from FILE instead of stdin\n");
+ printf("\tof=FILE\t\tWrite to FILE instead of stdout\n");
+ printf("\tbs=N\t\tRead and write N bytes at a time\n");
+ printf("\tcount=N\t\tCopy only N input blocks\n");
exit(EXIT_SUCCESS);
}