Merge pull request #583 from crhultay/patch-1

Fix oputil cat help page colour flag reference
This commit is contained in:
Bryan Ashby
2024-12-03 13:00:39 -07:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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>]