From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] efidebug: Introduce bootmgr command
Date: Wed, 10 Feb 2021 17:17:45 +0100 [thread overview]
Message-ID: <86952.1612973865@gemini.denx.de> (raw)
In-Reply-To: <9966b14a-43ef-42ad-dda4-d40b5e3b974b@gmx.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.
prev parent reply other threads:[~2021-02-10 16:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 10:54 [PATCH] efidebug: Introduce bootmgr command Ilias Apalodimas
2021-02-10 11:23 ` Wolfgang Denk
2021-02-10 11:53 ` Ilias Apalodimas
2021-02-10 12:26 ` Wolfgang Denk
2021-02-10 12:46 ` Ilias Apalodimas
2021-02-10 16:10 ` Wolfgang Denk
2021-02-10 12:50 ` AKASHI Takahiro
2021-02-10 14:59 ` Ilias Apalodimas
2021-02-10 12:53 ` Heinrich Schuchardt
2021-02-10 16:17 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86952.1612973865@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox