Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Flags parsing in PowerShell (vs. Unix) (2020) (jmmv.dev)
4 points by jbjbjbjb on Nov 24, 2023 | hide | past | favorite | 2 comments


One thing that always puzzled me about PS is more cultural than technical, why on Earth would you use capitalised options? -Force rather than -f/--force, -Path rather than -p/--path. Is there some advantage that I just can't see?


That’s the convention but you can use aliases too as in this example https://stackoverflow.com/a/7264842




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: