linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Andras Sebok <sebokandris2009@gmail.com>
Cc: linux-serial@vger.kernel.org, andriseseboke@gmail.com,
	linux-kernel@vger.kernel.org, jirislaby@kernel.org
Subject: Re: [PATCH 1/2] Simplify sysrq help
Date: Mon, 28 Aug 2023 12:51:38 +0200	[thread overview]
Message-ID: <2023082831-undefined-hut-11fd@gregkh> (raw)
In-Reply-To: <20230828102753.4811-2-sebokandris2009@gmail.com>

On Mon, Aug 28, 2023 at 12:27:53PM +0200, Andras Sebok wrote:
> This patch simplyfies sysrq help menu by moving each command to a 
> separate line and by moving the key from brackets to after a semicolon.
> 
> before:
> sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z)
> 
> after:
> sysrq: HELP :
> loglevel : 0-9
> reboot : b
> crash : c
> terminate-all-tasks : e
> memory-full-oom-kill : f
> kill-all-tasks : i
> thaw-filesystems : j
> sak : k
> show-backtrace-all-active-cpus : l
> show-memory-usage : m
> nice-all-RT-tasks : n
> poweroff : o
> show-registers : p
> show-all-timers : q
> unraw : r
> sync : s
> show-task-states : t
> unmount : u
> force-fb : v
> show-blocked-tasks : w
> dump-ftrace-buffer : z

So now the options all scroll off the screen?  Are you sure this is
wise?  What problem are you trying to solve here, it just looks like you
are changing one "help text format for another", and doesn't actually
change much of anything.

Note the:
	sysrq: HELP :

line format being different from all the others makes this not even look
correct?

So I really do not see the point of this change here, why is it needed?

thanks,

greg k-h

  parent reply	other threads:[~2023-08-28 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-28 10:27 [PATCH 1/2] Simplify sysrq help Andras Sebok
2023-08-28 10:27 ` [PATCH 2/2] Add disabled text to indicate inactive commands in sysrq help menu Andras Sebok
2023-08-28 10:52   ` Greg KH
2023-08-28 10:51 ` Greg KH [this message]
2023-08-28 14:03   ` [PATCH 1/2] Simplify sysrq help Theodore Ts'o

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=2023082831-undefined-hut-11fd@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=andriseseboke@gmail.com \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=sebokandris2009@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).