Commit Graph

4 Commits

Author SHA1 Message Date
68479bf07e userspace: Fix getopt_long usage
- Add missing null entry after the last long option
- Don't duplicate illegal option message, getopt already prints
  the message as I do not suppress it. Also handle missing arguments.
2026-05-17 00:29:20 +03:00
928d3e3fe7 dirname: Fix help message 2026-05-15 22:34:48 +03:00
3a05a29294 dirname: Support options and multiple strings
This is not needed by POSIX but sdl2-config uses `dirname -- "$0"`
2026-05-05 01:42:28 +03:00
cb7d5c9d09 userspace: Implement dirname utility 2024-12-05 08:30:30 +02:00