diff options
-rw-r--r-- | src/fish_indent.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fish_indent.cpp b/src/fish_indent.cpp index 9436944a..06a0e0e4 100644 --- a/src/fish_indent.cpp +++ b/src/fish_indent.cpp @@ -410,7 +410,8 @@ int main(int argc, char *argv[]) { wcstring src; if (argc == 0) { if (output_type == output_type_file) { - fwprintf(stderr, _(L"You cannot use -w without providing the path to read from and write to.")); + fwprintf(stderr, _(L"Expected file path to read/write for -w:\n\n $ %ls -w foo.fish\n"), + program_name); exit(1); } src = read_file(stdin); |