Skip to content

Commit 0fac1cd

Browse files
authored
Merge pull request #8411 from cakebaker/who_rename_var
who: rename var, cleanup spell-checker:ignore
2 parents 78d3845 + 361f1b9 commit 0fac1cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/uu/who/src/platform/unix.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
55

6-
// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
6+
// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr pidstr exitstr hoststr
77

88
use crate::options;
99
use crate::uu_app;
@@ -250,14 +250,14 @@ impl Who {
250250
fn print_runlevel(&self, ut: &Utmpx) {
251251
let last = (ut.pid() / 256) as u8 as char;
252252
let curr = (ut.pid() % 256) as u8 as char;
253-
let runlvline = translate!("who-runlevel", "level" => curr);
253+
let runlevel_line = translate!("who-runlevel", "level" => curr);
254254
let comment =
255255
translate!("who-runlevel-last", "last" => (if last == 'N' { 'S' } else { 'N' }));
256256

257257
self.print_line(
258258
"",
259259
' ',
260-
&runlvline,
260+
&runlevel_line,
261261
&time_string(ut),
262262
"",
263263
"",

src/uu/who/src/who.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
55

6-
// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
6+
// spell-checker:ignore (ToDO) runlevel mesg
77

88
use clap::{Arg, ArgAction, Command};
99
use uucore::format_usage;

0 commit comments

Comments
 (0)