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

Most upvoted comments

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.