Commit
Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: a3f2b7a620aacdccacadfcd3fb352feeef9aa4e0
Timestamp: Wed, 23 Sep 2020 21:58:50 +0000 (4 years ago)

+2 -2 +/-1 browse
make Raw the default encoding for the cat command
1diff --git a/lib/cmd.ml b/lib/cmd.ml
2index 0a96d26..f98e5ef 100644
3--- a/lib/cmd.ml
4+++ b/lib/cmd.ml
5 @@ -93,8 +93,8 @@ note cat -encoding json
6 ~doc:"perform a fulltext search instead of just key comparison"
7 and encoding =
8 flag "encoding"
9- (optional_with_default Text encoding_argument)
10- ~doc:"format [Text | Json | Yaml] (default: Text)"
11+ (optional_with_default Raw encoding_argument)
12+ ~doc:"format [Text | Json | Yaml | Raw] (default: Raw)"
13 in
14 fun () ->
15 let open Note.Filter in