-
Notifications
You must be signed in to change notification settings - Fork 123
using elektraGetOpts for kdb
#4024
Comments
Agreed. But we should discuss the command structure of
I don't think anybody will automatically expect that the I agree that
Definitely. Only common options should receive short options to avoid confusion. |
Yes, good point. Do you propose anything different than the current command structure in the new syntax?
👍 |
Mostly creating |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. |
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
From #4012:
If we are interested in making it work like git, we need a patch to use elektraGetOpts for
kdb
. To simply assume it works like git and add options like you would in git is wrong reasoning. The current system registers options globally and requires short options, so we need to make the decisions for our current architecture. I am very for using elektraGetOpts inkdb
, so I propose we adopt it.Btw. even when we get rid of global options, we need to be careful: people will still somehow expect that the same short option behaves in similar ways (sometimes even beyond the same program suite, e.g. using
-f
for something other than--force
will definitely be surprising for many). In the situation for avoiding the colon, we probably could simply provide only a long option.The text was updated successfully, but these errors were encountered: