Skip to content

Commit fe91f39

Browse files
committed
Corrected --init refs
1 parent 58c4073 commit fe91f39

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

remove-json-keys/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ remove-json -n -k app_DESC,app_VER -d data # no prompts
8585

8686
## Config file
8787

88-
Run `remove-json init` to create `.remove-json.config.json5` in your project root to set default options.
88+
Run `remove-json -- init` to create `.remove-json.config.json5` in your project root to set default options.
8989

9090
Example defaults:
9191

9292
```json5
9393
{
9494
"json_dir": "_locales", // name of the folder containing JSON files
9595
"keys": "", // keys to remove (e.g. "app_NAME,author")
96-
"force": false, // force overwrite existing config file when using init
96+
"force": false, // force overwrite existing config file when using --init
9797
"no_wizard": false // skip interactive prompts during start-up
9898
}
9999
```

translate-messages/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ translate-msgs -n -k app_DESC,err_NOT_FOUND -d _msgs -t es,hi # no prompts
9090

9191
## Config file
9292

93-
Run `translate-msgs init` to create `.translate-msgs.config.json5` in your project root to set default options.
93+
Run `translate-msgs --init` to create `.translate-msgs.config.json5` in your project root to set default options.
9494

9595
Example defaults:
9696

@@ -101,7 +101,7 @@ Example defaults:
101101
"keys": "", // keys to translate (e.g. "app_DESC,err_NOT_FOUND")
102102
"exclude_langs": "", // languages to exclude (e.g. "en,es")
103103
"exclude_keys": "", // keys to ignore (e.g. "app_NAME,author")
104-
"force": false, // force overwrite existing config file when using init
104+
"force": false, // force overwrite existing config file when using --init
105105
"no_wizard": false // skip interactive prompts during start-up
106106
}
107107
```

0 commit comments

Comments
 (0)