mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-12-22 15:00:45 -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():
|
def get_args():
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("-f", "--font-path", action="append",
|
parser.add_argument(
|
||||||
type=Path, required=True)
|
"-f",
|
||||||
parser.add_argument("-o", "--output", default="patched", type=Path)
|
"--font-path",
|
||||||
parser.add_argument("-d", "--docker", action="store_true")
|
help="path to font files",
|
||||||
parser.add_argument("-v", "--verbose", action="store_true")
|
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()
|
return parser.parse_known_args()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue