Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add slug to list for another filename option
  • Loading branch information
assumecs committed Jul 29, 2021
commit 8c3e878548552cafea96d4329fa469b4f21ffa4d
5 changes: 3 additions & 2 deletions lib/commands/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,15 @@ cmd.handler = function(argv) {
if (problem.locked) ++stat.locked;
if (problem.starred) ++stat.starred;

log.printf('%s %s %s [%=4s] %-60s %-6s (%s %%)',
log.printf('%s %s %s [%=4s] %-60s %-6s (%s %%) %-60s',
(problem.starred ? chalk.yellow(icon.like) : icon.empty),
(problem.locked ? chalk.red(icon.lock) : icon.nolock),
h.prettyState(problem.state),
problem.fid,
problem.name,
h.prettyLevel(problem.level),
(problem.percent || 0).toFixed(2));
(problem.percent || 0).toFixed(2),
problem.slug);

if (argv.extra) {
let badges = [problem.category];
Expand Down