From 5444532b5aaaff575ace1f6443c3f73a902405d3 Mon Sep 17 00:00:00 2001 From: Rootiest Date: Sat, 12 Sep 2026 20:32:47 -0400 Subject: [PATCH] docs: correct formatting error in documentation - Removes a formatting error that broke the visual of the --remote flag in both the documentation and the function's help output. ----- Impacted files: functions/mkrep.fish --- functions/mkrep.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/mkrep.fish b/functions/mkrep.fish index facc474..1450d9c 100644 --- a/functions/mkrep.fish +++ b/functions/mkrep.fish @@ -11,7 +11,7 @@ # mkrep [--cd | --no-cd] [--mkdir | --no-mkdir] [--git | --no-git] # [-c | --clean | --no-clean] [--strict] [-v | --verbose] # [-s | --silent] [--template ] [--branch ] -# [--remote ] [--new-remote[=]] [--name ] +# [--remote ] [--new-remote []] [--name ] # [-h | --help] # # DESCRIPTION @@ -52,10 +52,10 @@ # Passed through as git init --template= # --branch Passed through as git init -b # --remote Link an existing remote: git remote add origin -# --new-remote[=] +# --new-remote [] # Create + link a remote by running (or # $MKREP_REMOTE_CMD) in the new repo directory -# --name {name} substitution for --new-remote (default: 's +# --name {name} substitution when --new-remote (default: 's # basename) # -h, --help Show this help message # @@ -104,7 +104,7 @@ function mkrep --description 'Create a directory, cd into it, and git init it' echo " $c_flag--template$c_reset $c_arg$c_reset git init --template=" echo " $c_flag--branch$c_reset $c_arg$c_reset git init -b " echo " $c_flag--remote$c_reset $c_arg$c_reset Link an existing remote" - echo " $c_flag--new-remote$c_reset ""=""$c_arg$c_reset (optional) Create + link a remote" + echo " $c_flag--new-remote$c_reset $c_arg$c_reset (optional) Create + link a remote" echo " $c_flag--name$c_reset $c_arg$c_reset {name} substitution for --new-remote" echo " $c_flag-h$c_reset, $c_flag--help$c_reset Show this help message" echo