From cebaaf097276adbeb521d72399d2bdb88886615c Mon Sep 17 00:00:00 2001 From: Yorhel Date: Wed, 11 Jan 2023 08:42:54 +0100 Subject: [PATCH] Minor doc formatting fix & error message fix --- ncdu.pod | 2 +- src/main.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ncdu.pod b/ncdu.pod index 71e24c2..4a6247a 100644 --- a/ncdu.pod +++ b/ncdu.pod @@ -23,7 +23,7 @@ provides a fast way to see what directories are using your disk space. =over -=item B<-h>, -B<-help> +=item B<-h>, B<--help> Print a short help message and quit. diff --git a/src/main.zig b/src/main.zig index c2dd268..8a3fe47 100644 --- a/src/main.zig +++ b/src/main.zig @@ -454,7 +454,7 @@ pub fn main() void { } if (@import("builtin").os.tag != .linux and config.exclude_kernfs) - ui.die("The --exclude-kernfs tag is currently only supported on Linux.\n", .{}); + ui.die("The --exclude-kernfs flag is currently only supported on Linux.\n", .{}); const out_tty = std.io.getStdOut().isTty(); const in_tty = std.io.getStdIn().isTty();