From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 10 Feb 2021 17:17:45 +0100 Subject: [PATCH] efidebug: Introduce bootmgr command In-Reply-To: <9966b14a-43ef-42ad-dda4-d40b5e3b974b@gmx.de> References: <20210210105425.356131-1-ilias.apalodimas@linaro.org> <75527.1612956227@gemini.denx.de> <9966b14a-43ef-42ad-dda4-d40b5e3b974b@gmx.de> Message-ID: <86952.1612973865@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heinrich, In message <9966b14a-43ef-42ad-dda4-d40b5e3b974b@gmx.de> you wrote: > > > For backward compatibility e. g. 'efidebug' could be kept, but the > > new name would be 'efi debug'; likewise, your new command would be > > 'efi bootmgr' [or just 'efi boot' ?] ... > > what is the benefit for the user to have a single command with an > endless list of options? > > I can't see any. You miss the point. The complexisty for the user will be the same; as is, we already have a single command whichimplements a number of different functions as one big monolithig block of code. What we are discussing here is to split this into logical components, each implementing one specific function only. The suggested change will not make things any harder to the user, on contrary, it has the chance to make it easier andmore consistent to use. Also, it's not options, but separate commands grouped into one topic. Advantages are: - maintenance: it is much easier to maintain and debug a number of separate functions than monster spaghetti code - configurability: you can select needed / unselect unnecessary sub commands - memory footprint: comes with configurability - style: it follows existing practise. Just to name a few. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When the tide of life turns against you And the current upsets your boat Don't waste tears on what might have been Just lie on your back and float.