13 Commits

Author SHA1 Message Date
Refael Ackermann f2ee3f902f fix(getopt): Teach getopt to respect the --% token (#6477) 2025-11-13 11:16:10 +08:00
Valinor c00dd42cae fix(getopt): Stop split arguments in getopt() and ensure array by explicit arguments type (#5326)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2023-02-26 14:32:16 +08:00
Hsiao-nan Cheung 01fe9ccd63 fix(import): Fix scoop import command (#5210) 2022-10-24 04:06:31 +08:00
L. Yeung e06c7f0c81 feat(getopt): Support option terminator (--) (#5121)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-08-25 11:08:31 +08:00
Richard Kuhnt f2d9f0d79f getopt: skip if arg is $null 2018-09-15 12:40:12 +02:00
Richard Kuhnt 5f0c8cfb0a getopt: skip arg if it's decimal (closes #2598) 2018-09-15 12:22:47 +02:00
Chawye Hsu e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Luke Sampson 1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
Roy Ivy III 6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Simon Hartcher 8a0e8b8bc0 Fix error when passing regex keywords to getopt #386 2015-07-24 13:38:27 +10:00
Luke Sampson 23fe5a5319 getopt: don't try to parse int arguments 2013-09-06 15:52:59 +10:00
Luke Sampson 9b6e7b5e0f getopt: don't try to parse array arguments 2013-09-06 14:47:04 +10:00
Luke Sampson 97240400e0 rename opts to getopt, add comments 2013-09-06 14:20:46 +10:00