Skip to content

Coder stat's first argument is accepted but doesn't work as expected #8680

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

Closed
elliot-graebert-skydio opened this issue Jul 23, 2023 · 5 comments · Fixed by #8911
Closed

Coder stat's first argument is accepted but doesn't work as expected #8680

elliot-graebert-skydio opened this issue Jul 23, 2023 · 5 comments · Fixed by #8911
Assignees
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this.

Comments

@elliot-graebert-skydio
Copy link

elliot-graebert-skydio commented Jul 23, 2023

(note this ticket was heavily edited)

Screenshot 2023-07-22 at 3 11 47 PM

Note in the above screenshot, /home didn't seem to error out, but it worked on root. It made me think it was a bug, and not just that the argument was getting dropped.

@cdr-bot cdr-bot bot added the bug label Jul 23, 2023
@ammario
Copy link
Member

ammario commented Jul 24, 2023

cc @johnstcn

@johnstcn
Copy link
Member

@elliot-graebert-skydio Can you try coder stat disk --path /home instead?

@elliot-graebert-skydio
Copy link
Author

Snap, that works. Ok so is the issue just needing a better error message?

@johnstcn
Copy link
Member

Yep, or actually accepting the first positional arg as the path arg seems like the "natural" thing.

@elliot-graebert-skydio elliot-graebert-skydio changed the title Coder stat doesn't work with multiple disk drives Coder stat's first argument is accepted but doesn't work as expected Jul 24, 2023
@elliot-graebert-skydio
Copy link
Author

I edited the title/body to reflect what you said above ^^^

@johnstcn johnstcn added the s2 Broken use cases or features (with a workaround). Only humans may set this. label Jul 25, 2023
@johnstcn johnstcn self-assigned this Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s2 Broken use cases or features (with a workaround). Only humans may set this.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants