diff mbox

[U-Boot] cmd: Fix gettime command help

Message ID 1421674320-29509-1-git-send-email-bmeng.cn@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Bin Meng Jan. 19, 2015, 1:32 p.m. UTC
Remove the additional ',' and '\n' from the gettime command help.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 common/cmd_gettime.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bin Meng Jan. 21, 2015, 3:54 p.m. UTC | #1
+Tom

Hi Tom,

On Mon, Jan 19, 2015 at 9:32 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> Remove the additional ',' and '\n' from the gettime command help.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  common/cmd_gettime.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/common/cmd_gettime.c b/common/cmd_gettime.c
> index 320ff70..c48baad 100644
> --- a/common/cmd_gettime.c
> +++ b/common/cmd_gettime.c
> @@ -35,6 +35,6 @@ static int do_gettime(cmd_tbl_t *cmdtp, int flag, int argc,
>
>  U_BOOT_CMD(
>         gettime,        1,      1,      do_gettime,
> -       "get timer val elapsed,\n",
> -       "get time elapsed from uboot start\n"
> +       "get timer val elapsed",
> +       "get time elapsed from uboot start"
>  );
> --

Will you take this one?

Regards,
Bin
Tom Rini Jan. 21, 2015, 6:03 p.m. UTC | #2
On Wed, Jan 21, 2015 at 11:54:08PM +0800, Bin Meng wrote:
> +Tom
> 
> Hi Tom,
> 
> On Mon, Jan 19, 2015 at 9:32 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> > Remove the additional ',' and '\n' from the gettime command help.
> >
> > Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> > ---
> >
> >  common/cmd_gettime.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/common/cmd_gettime.c b/common/cmd_gettime.c
> > index 320ff70..c48baad 100644
> > --- a/common/cmd_gettime.c
> > +++ b/common/cmd_gettime.c
> > @@ -35,6 +35,6 @@ static int do_gettime(cmd_tbl_t *cmdtp, int flag, int argc,
> >
> >  U_BOOT_CMD(
> >         gettime,        1,      1,      do_gettime,
> > -       "get timer val elapsed,\n",
> > -       "get time elapsed from uboot start\n"
> > +       "get timer val elapsed",
> > +       "get time elapsed from uboot start"
> >  );
> > --
> 
> Will you take this one?

Yup, thanks.
Bin Meng Feb. 2, 2015, 12:45 p.m. UTC | #3
Hi Tom,

On Thu, Jan 22, 2015 at 2:03 AM, Tom Rini <trini@ti.com> wrote:
> On Wed, Jan 21, 2015 at 11:54:08PM +0800, Bin Meng wrote:
>> +Tom
>>
>> Hi Tom,
>>
>> On Mon, Jan 19, 2015 at 9:32 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
>> > Remove the additional ',' and '\n' from the gettime command help.
>> >
>> > Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> > ---
>> >
>> >  common/cmd_gettime.c | 4 ++--
>> >  1 file changed, 2 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/common/cmd_gettime.c b/common/cmd_gettime.c
>> > index 320ff70..c48baad 100644
>> > --- a/common/cmd_gettime.c
>> > +++ b/common/cmd_gettime.c
>> > @@ -35,6 +35,6 @@ static int do_gettime(cmd_tbl_t *cmdtp, int flag, int argc,
>> >
>> >  U_BOOT_CMD(
>> >         gettime,        1,      1,      do_gettime,
>> > -       "get timer val elapsed,\n",
>> > -       "get time elapsed from uboot start\n"
>> > +       "get timer val elapsed",
>> > +       "get time elapsed from uboot start"
>> >  );
>> > --
>>
>> Will you take this one?
>
> Yup, thanks.
>
> --
> Tom

I see this one is still not merged. Hope you did not miss it.

Regards,
Bin
Tom Rini Feb. 2, 2015, 6:58 p.m. UTC | #4
On Mon, Jan 19, 2015 at 09:32:00PM +0800, Bin Meng wrote:

> Remove the additional ',' and '\n' from the gettime command help.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/common/cmd_gettime.c b/common/cmd_gettime.c
index 320ff70..c48baad 100644
--- a/common/cmd_gettime.c
+++ b/common/cmd_gettime.c
@@ -35,6 +35,6 @@  static int do_gettime(cmd_tbl_t *cmdtp, int flag, int argc,
 
 U_BOOT_CMD(
 	gettime,	1,	1,	do_gettime,
-	"get timer val elapsed,\n",
-	"get time elapsed from uboot start\n"
+	"get timer val elapsed",
+	"get time elapsed from uboot start"
 );