pijul_org / pijul

fix: if NOPAGER is set, do not use a pager

By lthms on April 28, 2018
This patch is not signed.
75YPKrKYgUsHLXsMioG8bL9sTt22uWRU8Ba8jdbqxkQbHVcfCAz51vsBoAmGxPa7RYmGZ3vHdvvhTYfFubhwrXXx
This patch is in the following branches:
latest
master
testing







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#[cfg(unix)]
use pager::Pager;
#[cfg(unix)]
use std::env;
    if env::var_os("NOPAGER").is_none() {
        Pager::with_pager("less -r").setup()
    }
use clap;
use clap::ArgMatches;
pub type StaticSubcommand = clap::App<'static, 'static>;

mod ask;
mod fs_operation;
pub mod remote;
mod ssh_auth_attempts;

pub mod add;
pub mod apply;
pub mod branches;
pub mod checkout;
pub mod clone;
pub mod credit;
pub mod dependencies;
pub mod diff;
pub mod dist;
pub mod fork;
pub mod generate_completions;
pub mod grep;
pub mod hooks;
pub mod info;
pub mod init;
pub mod key;
pub mod log;
pub mod ls;
pub mod mv;
pub mod patch;
pub mod prune;
pub mod pull;
pub mod push;
pub mod record;
pub mod remove;
pub mod revert;
pub mod rollback;
pub mod sign;
pub mod status;
pub mod tag;
pub mod unrecord;

mod fold_until;