Skip to content

Commit 2c9a01c

Browse files
committed
Add help messages to included commands
1 parent 9ca5a96 commit 2c9a01c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/platform.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,13 +1472,16 @@ def _parse_args(args: list[str] | None):
14721472
parser.add_argument(
14731473
"--terse",
14741474
action="store_true",
1475-
help="return only the absolute minimum information needed to identify the platform",
1475+
help=("return only the absolute minimum information needed to identify the "
1476+
"platform"),
14761477
)
14771478
parser.add_argument(
14781479
"--nonaliased",
14791480
dest="aliased",
14801481
action="store_false",
1481-
help="prevent the system/ OS name from being aliased to common marketing names e.g. win32 instead of Windows"
1482+
help=("disable system/ OS name aliasing. If aliasing is enabled, some "
1483+
"platforms will report system names which differ from their common "
1484+
"names, e.g. SunOS will be reported as Solaris"),
14821485
)
14831486

14841487
return parser.parse_args(args)

0 commit comments

Comments
 (0)