diff --git a/README.md b/README.md index 19dccced3a055570ad84e3cb7175c1ea542e848b..0092b99966a8020b8d6fa3d5098d0a7009f24817 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + # 📌 Introduction Ubutils is the basic DFX tool of ubus, including setub, lsub and ub.ids. @@ -94,9 +95,7 @@ Kernel version: openeuler OLK-6.6 # 📄 Connection and contribution -Issue feedback: Submit an issue in the openeuler community -Code contribution: Follow Huawei's kernel coding standards and submit patches via Gerrit - +Issue feedback: Submit an issue in the openeuler community. # 📌 Copyright Notice diff --git a/include/ubutils.h b/include/ubutils.h index 34f53f02777961b93d107515eb5e57da0c28fb90..afc46e6f06cade52732aeb4aab667d0b02b9c8b0 100644 --- a/include/ubutils.h +++ b/include/ubutils.h @@ -13,7 +13,7 @@ #include #include -#define UBUTILS_VERSION "1.0.1.rc1" +#define UBUTILS_VERSION "1.0.1" #define UB_SYS_DIR_LEN 1024 #define OBJBUFSIZE 1024 #define OBJNAMELEN 1024 diff --git a/lsub.man b/lsub.man index e26617a9d145b9ddae4e1926e9e086f90bbb4818..a75fe30d2e5ce9faa7c1483408c53972852999af 100644 --- a/lsub.man +++ b/lsub.man @@ -22,6 +22,22 @@ Show detailed help on available options. This option should be used stand-alone. .TP .B -t Show a topo-like diagram containing all entities, ports and connections between them. +For example topo like: ++----------------+ +-------+ +|Bus controller0 |port0:---:port0| UBPU0 | ++----------------+ +-------+ ++----------------+ +-------+ +|Bus controller0 |port1:---:port0| UBPU1 | ++----------------+ +-------+ +Bus controller0 entity num: [00001] or "00001"( using "" if it appears again) +UBPU0 entity num: [00002] +UBPU1 entity num: [00003] +port0: 000 +port1: 001 +it will show: +---[00001]-+-000-000---[00002]---000-000---"00001" + \-001-000---[00003]---000-001---"00001" + .TP .B -l Show UB entities list. This list can display the connection between MUE(management UB entity) and