Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell: shell_help: terminal offset of subcommands' help text isn't aligned #80818

Closed
ycsin opened this issue Nov 4, 2024 · 1 comment · Fixed by #77643
Closed

shell: shell_help: terminal offset of subcommands' help text isn't aligned #80818

ycsin opened this issue Nov 4, 2024 · 1 comment · Fixed by #77643
Assignees
Labels
area: Shell Shell subsystem bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Stale

Comments

@ycsin
Copy link
Member

ycsin commented Nov 4, 2024

Describe the bug
The help message of a shell subcommand isn't aligned.

To Reproduce
Steps to reproduce the behavior:

  1. Boot something with devmem enabled on qemu
  2. Type devmem -h in shell
  3. See error

Expected behavior
Texts should be aligned

Impact
Text not aligned

Logs and console output

uart:~$ devmem -h
devmem - Read/write physical memory
         Usage:
         Read memory at address with optional width:
         devmem address [width]
         Write memory at address with mandatory width and value:
         devmem address <width> <value>
Subcommands:
  dump  : Usage:
         devmem dump -a <address> -s <size> [-w <width>]
        ~~~
         ^ not aligned

  load  : Usage:
         devmem load [options] [address]
        ~~~
         ^ not aligned
Options:
-e      little-endian parse

Environment (please complete the following information):

  • OS: Linux
  • Toolchain Zephyr SDK 0.16.8
  • Commit SHA or Version used: v3.7-branch
@ycsin ycsin added bug The issue is a bug, or the PR is fixing a bug area: Shell Shell subsystem labels Nov 4, 2024
@dkalowsk dkalowsk added the priority: low Low impact/importance bug label Nov 6, 2024
Copy link

github-actions bot commented Jan 6, 2025

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

@github-actions github-actions bot added the Stale label Jan 6, 2025
@ycsin ycsin closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Shell Shell subsystem bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Stale
Projects
None yet
3 participants