Re: [U-Boot] [PATCH 0/5] tools: env: simplify argument parsing

2015-11-24 Thread Michael Heimpold
Hi Andreas, Am Tuesday 24 November 2015, 14:21:10 schrieb Andreas Fenkart: > I want to add -c config_file parameter to fw_setenv/fw_printenv, > so I can switch between old/new u-boot environment after u-boot > upgrade. for a similar use-case a patch was accepted/merged some days ago: http://git.d

[U-Boot] [PATCH 0/5] tools: env: simplify argument parsing

2015-11-24 Thread Andreas Fenkart
I want to add -c config_file parameter to fw_setenv/fw_printenv, so I can switch between old/new u-boot environment after u-boot upgrade. In it's current state paramter parsing is quite hard to understand since it happens in two places. One is using getopt at the beginning of main, the second is us