Skip to content

Commit

Permalink
Merge pull request #583 from crhultay/patch-1
Browse files Browse the repository at this point in the history
Fix oputil cat help page colour flag reference
  • Loading branch information
NuSkooler authored Dec 3, 2024
2 parents 468de58 + 375674f commit 23f9fa6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions core/oputil/oputil_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,14 @@ function catCurrentConfig() {
keepWsc: false === argv.comments ? false : true,
});

if (argv.meow) {
console.info(
` /\\_/\\
( o.o )
> ^ < ... mrow...`);
return;
}

console.log(hjson.stringify(config, hjsonOpts));
} catch (e) {
if ('ENOENT' == e.code) {
Expand Down
2 changes: 1 addition & 1 deletion core/oputil/oputil_help.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Actions:
cat Write current configuration to stdout
cat arguments:
--no-color Disable color
--no-colors Disable color
--no-comments Strip any comments
`,
FileBase: `usage: oputil.js fb <action> [<arguments>]
Expand Down

0 comments on commit 23f9fa6

Please sign in to comment.