@@ -231,13 +231,13 @@ int main(int argc, char* argv[])
231231 static_assert (static_cast <int >(runcpp2::CmdOptions::COUNT) == 13 , " Update this" );
232232 std::unordered_map<std::string, const runcpp2::OptionInfo&> shortOptionsMap =
233233 {
234- {" -r " , longOptionsMap.at (" --reset-cache" )},
235- {" -c " , longOptionsMap.at (" --reset-user-config" )},
234+ {" -rc " , longOptionsMap.at (" --reset-cache" )},
235+ {" -ru " , longOptionsMap.at (" --reset-user-config" )},
236236 {" -e" , longOptionsMap.at (" --executable" )},
237237 {" -h" , longOptionsMap.at (" --help" )},
238- {" -d " , longOptionsMap.at (" --reset-dependencies" )},
238+ {" -rd " , longOptionsMap.at (" --reset-dependencies" )},
239239 {" -l" , longOptionsMap.at (" --local" )},
240- {" -s " , longOptionsMap.at (" --show-config-path" )},
240+ {" -sc " , longOptionsMap.at (" --show-config-path" )},
241241 {" -t" , longOptionsMap.at (" --create-script-template" )},
242242 {" -w" , longOptionsMap.at (" --watch" )},
243243 {" -b" , longOptionsMap.at (" --build" )},
@@ -261,18 +261,18 @@ int main(int argc, char* argv[])
261261 static_assert (static_cast <int >(runcpp2::CmdOptions::COUNT) == 13 , " Update this" );
262262 ssLOG_BASE (" Usage: runcpp2 [options] [input_file]" );
263263 ssLOG_BASE (" Options:" );
264- ssLOG_BASE (" -r , --[r]eset-cache Deletes compiled source files cache only" );
265- ssLOG_BASE (" -c , --reset-user-[c]onfig Replace current user config with the default one" );
266- ssLOG_BASE (" -e, --[e]xecutable Runs as executable instead of shared library" );
267- ssLOG_BASE (" -h, --[h]elp Show this help message" );
268- ssLOG_BASE (" -d , --reset -[d]ependencies <names> Reset dependencies (comma-separated names, or \" all\" for all)" );
269- ssLOG_BASE (" -l, --[l]ocal Build in the current working directory under .runcpp2 directory" );
270- ssLOG_BASE (" -s , --[s]how-config -path Show where runcpp2 is reading the config from" );
271- ssLOG_BASE (" -t, --create-script-[t]emplate <file> Creates/prepend runcpp2 script info template" );
272- ssLOG_BASE (" -w, --[w]atch Watch script changes and output any compiling errors" );
273- ssLOG_BASE (" -b, --[b]uild Build the script and copy output files to the working directory" );
274- ssLOG_BASE (" -v, --[v]ersion Show the version of runcpp2" );
275- ssLOG_BASE (" --log-level <level> Sets the log level (Normal, Info, Debug) for runcpp2." );
264+ ssLOG_BASE (" -rc , --[r]eset-[c]ache Deletes compiled source files cache only" );
265+ ssLOG_BASE (" -ru , --[r]eset-[u]ser-config Replace current user config with the default one" );
266+ ssLOG_BASE (" -e, --[e]xecutable Runs as executable instead of shared library" );
267+ ssLOG_BASE (" -h, --[h]elp Show this help message" );
268+ ssLOG_BASE (" -rd , --[r]eset -[d]ependencies <names> Reset dependencies (comma-separated names, or \" all\" for all)" );
269+ ssLOG_BASE (" -l, --[l]ocal Build in the current working directory under .runcpp2 directory" );
270+ ssLOG_BASE (" -sc , --[s]how-[c]onfig -path Show where runcpp2 is reading the config from" );
271+ ssLOG_BASE (" -t, --create-script-[t]emplate <file> Creates/prepend runcpp2 script info template" );
272+ ssLOG_BASE (" -w, --[w]atch Watch script changes and output any compiling errors" );
273+ ssLOG_BASE (" -b, --[b]uild Build the script and copy output files to the working directory" );
274+ ssLOG_BASE (" -v, --[v]ersion Show the version of runcpp2" );
275+ ssLOG_BASE (" --log-level <level> Sets the log level (Normal, Info, Debug) for runcpp2." );
276276
277277 return 0 ;
278278 }
0 commit comments