podman: arg parsing: single-dash options expanded incorrectly
Sorry for the unhelpful title; I can’t think of a better description. This one has been haunting me today:
# podman run centos find / -name sdf
find: unknown predicate `-n'
# podman run centos echo find / -name sdf
find / -n -a -m -e sdf
Somewhere in podman-land, -name is being rewritten and passed along as -n -a -m -e.
podman-0.4.4-2.git9924956.fc27 and 0.5.1-1525212894.git970eaf0.fc27
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (24 by maintainers)
Commits related to this issue
- urfave/cli: fix parsing of short opts Vendor an updated version of urfave/cli to fix the parsing of short options. Until the fix is merged upstream, vendor the code from github.com/vrothberg/cli con... — committed to vrothberg/libpod by vrothberg 6 years ago
- urfave/cli: fix parsing of short opts Vendor an updated version of urfave/cli to fix the parsing of short options. Until the fix is merged upstream, vendor the code from github.com/vrothberg/cli con... — committed to vrothberg/libpod by vrothberg 6 years ago
- urfave/cli: fix parsing of short opts Vendor an updated version of urfave/cli to fix the parsing of short options. Until the fix is merged upstream, vendor the code from github.com/vrothberg/cli con... — committed to vrothberg/libpod by vrothberg 6 years ago
- urfave/cli: fix parsing of short opts Vendor an updated version of urfave/cli to fix the parsing of short options. Until the fix is merged upstream, vendor the code from github.com/vrothberg/cli con... — committed to vrothberg/libpod by vrothberg 6 years ago
- Merge master @1.22.1 with v2 commit c71fbcefd21552b70cd625b2c54466006e258ad7 Merge: 61f3ae3 ef47250 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +0530 Mer... — committed to urfave/cli by asahasrabuddhe 5 years ago
- Merge master @1.22.1 with v2 commit c71fbcefd21552b70cd625b2c54466006e258ad7 Merge: 61f3ae3 ef47250 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +0530 Mer... — committed to urfave/cli by asahasrabuddhe 5 years ago
- Merge latest master into v2-merge-master commit c71fbcefd21552b70cd625b2c54466006e258ad7 Merge: 61f3ae3 ef47250 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +05... — committed to urfave/cli by asahasrabuddhe 5 years ago
- short opt handling: fix parsing Only split a given string (e.g., "-abc") into short options (e.g., "-a", "-b", "-c") if all those are flags. To further avoid mistakenly transform common arguments, c... — committed to rancher/spur by vrothberg 6 years ago
- Merge master @1.22.1 with v2 commit 41ae52046f3b5fa00a085bf71864126b9e96919d Merge: 70c9cd9 76c8068 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +0530 Mer... — committed to rancher/spur by asahasrabuddhe 5 years ago
- Merge latest master into v2-merge-master commit 41ae52046f3b5fa00a085bf71864126b9e96919d Merge: 70c9cd9 76c8068 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +05... — committed to rancher/spur by asahasrabuddhe 5 years ago
- Merge master @1.22.1 with v2 commit c71fbcefd21552b70cd625b2c54466006e258ad7 Merge: 61f3ae3 ef47250 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +0530 Mer... — committed to urfave/cli-altsrc by asahasrabuddhe 5 years ago
- Merge latest master into v2-merge-master commit c71fbcefd21552b70cd625b2c54466006e258ad7 Merge: 61f3ae3 ef47250 Author: Ajitem Sahasrabuddhe <ajitem.s@outlook.com> Date: Thu Sep 12 05:35:50 2019 +05... — committed to urfave/cli-altsrc by asahasrabuddhe 5 years ago
My fear looking through the PRs, there has not been anything merged since Feb 21st. I am not sure how alive this project is.
We might need to carry this patch some how.