File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ details on the west APIs you can use, see :ref:`west-apis`.
8787 from textwrap import dedent # just for nicer code indentation
8888
8989 from west.commands import WestCommand # your extension must subclass this
90- from west import log # use this for user output
9190
9291 class MyCommand (WestCommand ):
9392
@@ -125,8 +124,8 @@ details on the west APIs you can use, see :ref:`west-apis`.
125124 # $ west my-command-name -o FOO BAR
126125 # --optional is FOO
127126 # required is BAR
128- log .inf(' --optional is' , args.optional)
129- log .inf(' required is' , args.required)
127+ self .inf(' --optional is' , args.optional)
128+ self .inf(' required is' , args.required)
130129
131130 You can ignore the second argument to ``do_run() `` (``unknown_args `` above), as
132131``WestCommand `` will reject unknown arguments by default. If you want to be
You can’t perform that action at this time.
0 commit comments