aboutsummaryrefslogtreecommitdiff
path: root/debugfs/util.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2004-01-24 18:54:41 -0500
committerTheodore Ts'o <tytso@mit.edu>2004-01-24 18:54:41 -0500
commit2b5ddd75c90ed4dce2ecdca12b59688a46b11b01 (patch)
treed6a0f26918ceaa585dfacb36cbc89a9397beda4d /debugfs/util.c
parent2293a4d5deb30b02d90c4d0aee516e8280092a58 (diff)
downloade2fsprogs-2b5ddd75c90ed4dce2ecdca12b59688a46b11b01.tar.gz
For debugfs, use the "more" pager in preference to "less",
since "less" doesn't work terribly well for debugfs's purpose. Document the DEBUGFS_PAGER and PAGER environment variables.
Diffstat (limited to 'debugfs/util.c')
-rw-r--r--debugfs/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugfs/util.c b/debugfs/util.c
index 4da7f6e2..93ef7512 100644
--- a/debugfs/util.c
+++ b/debugfs/util.c
@@ -56,7 +56,7 @@ void reset_getopt(void)
#endif
}
-static const char *pager_search_list[] = { "pager", "less", "more", 0 };
+static const char *pager_search_list[] = { "pager", "more", "less", 0 };
static const char *pager_dir_list[] = { "/usr/bin", "/bin", 0 };
static const char *find_pager(char *buf)