From fa3b1ef74882597d7e809fc0924bf5d66114f535 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sun, 30 Apr 2023 15:51:58 -0400 Subject: update help messages and use addressing range for ed s command --- src/commands/dd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands/dd.c') 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); } -- cgit v1.2.3-freya