fix: align list and diskusage command flags with their Linux analogs

Fixes: https://github.com/talos-systems/talos/issues/3018

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
This commit is contained in:
Artem Chernyshev
2022-03-01 13:21:13 +03:00
parent d29e9202f3
commit a50747a64a
5 changed files with 16 additions and 19 deletions

View File

@@ -95,7 +95,7 @@ func (suite *DiskUsageSuite) TestSuccess() {
}))
// check total calculation
suite.RunCLI([]string{"usage", "--nodes", node, folder, "-d2", "--all"},
suite.RunCLI([]string{"usage", "--nodes", node, folder, "-d1", "--all"},
base.StdoutMatchFunc(func(stdout string) error {
lines := strings.Split(strings.TrimSpace(stdout), "\n")
if len(lines) == 1 {