Closed antoniovazquezblanco closed 7 months ago
Given that arg_basename is used internally in arg_file, I was wondering if it would make sense to expose it to the user.
arg_basename
One simple but common use would be to substitute progname with arg_basename(argv[0]).
progname
arg_basename(argv[0])
Thanks
@antoniovazquezblanco : I use the cwalk library (https://likle.github.io/cwalk/reference/) to do these path operations. It is a single-file library, which is as easy to use as argtable3.
Thanks!
Given that
arg_basename
is used internally in arg_file, I was wondering if it would make sense to expose it to the user.One simple but common use would be to substitute
progname
witharg_basename(argv[0])
.Thanks