diff options
| author | Fuwn <[email protected]> | 2021-05-16 15:06:30 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-16 15:06:30 +0000 |
| commit | 1264de57f6147b5cfc00874b6f695e3045192166 (patch) | |
| tree | 2cf65662c120492a35f463e7dc9be0f453ad2ab3 /src | |
| parent | feat(prompt): add a couple new builtins (diff) | |
| download | whirl-1264de57f6147b5cfc00874b6f695e3045192166.tar.xz whirl-1264de57f6147b5cfc00874b6f695e3045192166.zip | |
feat(builtins): usage note on `cat Whirl.toml`
Add a notice which states that `cat Whirl.toml` is actually just a wrapper for `config show`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/prompt/builtins.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prompt/builtins.rs b/src/prompt/builtins.rs index c3150e0..18a5f8e 100644 --- a/src/prompt/builtins.rs +++ b/src/prompt/builtins.rs @@ -93,6 +93,7 @@ pub async fn builtin_cat(args: &[String]) -> i32 { transfer.perform().unwrap(); } "Whirl.toml" => { + colour::red_ln!("NOTE: This is just a wrapper for `config show`."); println!("{:#?}", Config::get()); } _ => println!("/cat: {}: no such file or directory", file), |