summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-27 19:13:40 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-27 19:13:40 -0400
commit2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a (patch)
tree400ec8e22d2c156f5018b574ea18551c570be47b /src/commands
parentadd echo and pritnf (diff)
downloadlazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.tar.gz
lazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.tar.bz2
lazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.zip
remove tabs
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cat.c12
-rw-r--r--src/commands/dd.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/src/commands/cat.c b/src/commands/cat.c
index e2c471b..f5622e8 100644
--- a/src/commands/cat.c
+++ b/src/commands/cat.c
@@ -24,12 +24,12 @@ static bool printable(char c) {
static void help() {
printf("Usage: cat [-nbvteA] [FILE]...\n\n");
printf("Print FILEs to stdout\n\n");
- printf("-n Number output lines\n");
- printf("-b Number nonempty lines\n");
- printf("-v Show nonprinting characters as ^x or M-x\n");
- printf("-t ...and tabs as ^I\n");
- printf("-e ...and end lines with $\n");
- printf("-A Same as -vte\n");
+ printf("-n Number output lines\n");
+ printf("-b Number nonempty lines\n");
+ printf("-v Show nonprinting characters as ^x or M-x\n");
+ printf("-t ...and tabs as ^I\n");
+ printf("-e ...and end lines with $\n");
+ printf("-A Same as -vte\n");
exit(EXIT_SUCCESS);
}
diff --git a/src/commands/dd.c b/src/commands/dd.c
index 278dee3..8acde7d 100644
--- a/src/commands/dd.c
+++ b/src/commands/dd.c
@@ -5,9 +5,9 @@ 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("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");
exit(EXIT_SUCCESS);
}