mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-11-12 18:03:14 -06:00
fix: add help info to bin/patch-monolisa
This commit is contained in:
parent
ee0e7911d8
commit
8bf47bf877
1 changed files with 17 additions and 5 deletions
|
@ -109,11 +109,23 @@ def run_cmd(
|
|||
|
||||
def get_args():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-f", "--font-path", action="append",
|
||||
type=Path, required=True)
|
||||
parser.add_argument("-o", "--output", default="patched", type=Path)
|
||||
parser.add_argument("-d", "--docker", action="store_true")
|
||||
parser.add_argument("-v", "--verbose", action="store_true")
|
||||
parser.add_argument(
|
||||
"-f",
|
||||
"--font-path",
|
||||
help="path to font files",
|
||||
action="append",
|
||||
type=Path,
|
||||
required=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"-o", "--output", help="target output directory", default="patched", type=Path
|
||||
)
|
||||
parser.add_argument(
|
||||
"-d", "--docker", help="use nerdfonts/patcher docker image", action="store_true"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-v", "--verbose", help="show subprocess output", action="store_true"
|
||||
)
|
||||
return parser.parse_known_args()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue