grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] Add --debug to set -x for a few grub commands


From: Andrew Worsley
Subject: Re: [PATCH 2/2] Add --debug to set -x for a few grub commands
Date: Sun, 29 May 2016 20:13:24 +1000

On 29 May 2016 at 16:34, Vladimir 'phcoder' Serbinenko
<address@hidden> wrote:
> What is advantage compared with running scripts with bash -x script name ?
>

For a naive user they may not even realise it is a shell script or
that the running it via bash -x option will give a valuable debug
output. I didn't until I did a bunch of work on it. It is an extremely
simple addition but very helpful to understand is going on and gives
useful debug reports.

I was thinking that we could expand this to have a level with lower
levels printing out settings of key variables and a high level
generating the -x output. But I think at least having this debug
output easily available is an easy but valuable improvement.

Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]