Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2025 09:41:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290089] w libxo output has extra padding in uptime-human
Message-ID:  <bug-290089-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290089

            Bug ID: 290089
           Summary: w libxo output has extra padding in uptime-human
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: bugs-freebsd-org916@ketas.si.pri.ee

uptime-human field has padding at the start in all xo output


example:

> w --libxo=json,pretty
{
  "__version": "1",
  "uptime-information": {
    "time-of-day": "12:39PM",
    "uptime": 18188,
    "days": 0,
    "hours": 5,
    "minutes": 3,
    "seconds": 8,
    "uptime-human": "  5:03,",
    "users": 0,
    "load-average-1": 0.32,
    "load-average-5": 0.34,
    "load-average-15": 0.31,
    "user-table": {
      "user-entry": [
      ]
    }
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290089-227>