Skip to content

2.0.0

Choose a tag to compare

@kvnglb kvnglb released this 24 Jan 14:10
· 3 commits to main since this release

Add POSIX compliance to API mode argument handling

Escaping with \, enclosing with quotes and the overall argument handling when started as nap is now POSIX-compliant. E.g. in the previous version

  • ?-x=hello\world resulted in hello\world, now it results in helloworld
  • ?-x=hello\ world resulted in an error (when x was not set to nargs="+"), now it results in hello world
  • ?-x="hello\world" is not affected by this change

Standalone mode is unaffected and argument handling still depends on the host shell.