i love positional arguments in commands.
-
i love positional arguments in commands.
remember kids:
dism /Online /RestoreHealth /Cleanup-Image gives you error 87 "The restorehealth option is unknown" but dism /Online /Cleanup-Image /RestoreHealth runs -
the linux version would have this as a subcommand like
dism restore --online --cleanup
but no windows likes having subcommands as positional arguments because fuck you right -
Anthropy :verified_dragon:replied to Amber last edited by
@puppygirlhornypost2 the fact critical core Windows tools can't even get command line argument parsing right should tell you everything you need to know about Windows tbh
-
Amberreplied to Anthropy :verified_dragon: last edited by
@[email protected] me every time i encounter a new windows command trying the several possible help menus depending on if it's a powershell module.
$command -h
$command /h
$command /? -
@puppygirlhornypost2 the windows shell feels like it was made to be deliberately unusable
-
@mozilla_firefox it's specifically programs written for command prompt that do this right powershell modules are actually sane
-
@mozilla_firefox bc in power shell i can make an array of arguments and pass it to the module instead of doing - for everything. i use this all the time
-
@puppygirlhornypost2 That's a confusing syntax! I was trying to figure out what dism might look like as an OpenVMS command, and I think VMS would probably force you to put "/Cleanup_Image" first (and let you abbreviate to the shortest unique prefixes):
dism/Cleanup/Onl/Rest
VMS's command parser can be configured via tables to run different programs depending on qualifier. So "analyze/disk_structure", "analyze/audit", "analyze/crash_dump", "analyze/rms_file" likely launch 4 different .exe's.
-