mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-13 12:50:51 +08:00
Improve CLI help text
This commit is contained in:
@@ -32,7 +32,7 @@ usage: optuna-dashboard [-h] [--port PORT] [--host HOST] [--version] [--quiet] s
|
||||
Real-time dashboard for Optuna.
|
||||
|
||||
positional arguments:
|
||||
storage Optuna Storage URL
|
||||
storage DB URL (e.g. sqlite:///example.db)
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
|
||||
@@ -7,7 +7,7 @@ from .version import __version__
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Real-time dashboard for Optuna.")
|
||||
parser.add_argument("storage", help="Optuna Storage URL", type=str)
|
||||
parser.add_argument("storage", help="DB URL (e.g. sqlite:///example.db)", type=str)
|
||||
parser.add_argument(
|
||||
"--port", help="port number (default: %(default)s)", type=int, default=8080
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user