[fix] format

This commit is contained in:
liuxianliang 2021-11-15 15:58:31 +08:00
parent be2006f325
commit 8e518f234a
2 changed files with 40 additions and 40 deletions

View File

@ -1,6 +1,6 @@
/* /*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science. * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* COPYRIGHT (C) 2006-2018, RT-Thread Development Team * COPYRIGHT (C) 2006-2021, RT-Thread Development Team
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without modification, * Redistribution and use in source and binary forms, with or without modification,

View File

@ -1154,7 +1154,7 @@ int netdev_ping(int argc, char **argv)
{ {
if (argc == 1) if (argc == 1)
{ {
rt_kprintf("Please input: ping <host address>\n"); rt_kprintf("Please input: ping [netdev name] <host address>\n");
} }
else if (argc == 2) else if (argc == 2)
{ {