diff --git a/README.md b/README.md index 91823a0..c05a008 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ To activate, reopen your console or source your `.bashrc` again: Add git status in the best position: - $ phpl-edit -igit + $ phpl-config -igit Add git status to beginning of prompt: - $ phpl-edit -igit --first + $ phpl-config -igit --first Use `-h` for help. diff --git a/bin/phpl-edit b/bin/phpl-config similarity index 97% rename from bin/phpl-edit rename to bin/phpl-config index eed4106..cf66560 100755 --- a/bin/phpl-edit +++ b/bin/phpl-config @@ -86,7 +86,7 @@ if (cmdl_get($opts,'list')) { foreach ($_MODULES as $module) { printf(" - \e[1m%s\e[0m: %s\n", $module->name, $module->info); foreach ($module->opts as $opt) { - printf(" + <%s>%s - %s (default:%s)\n", $opt->type, $opt->name, $opt->descr, $opt->def); + printf(" + <%s>%s - %s (default:\e[1m%s\e[0m)\n", $opt->type, $opt->name, $opt->descr, var_export($opt->def,true)); } } } elseif (($delete = cmdl_get($opts,'delete'))) {