Skip to content

Commit

Permalink
Merge pull request #36 from njaard/select-columns
Browse files Browse the repository at this point in the history
Select columns documentation
  • Loading branch information
njaard authored Mar 15, 2024
2 parents a71ab8d + c249de7 commit cd17933
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ enum Command {
time: Option<EasyNaiveDateTime>,
},
/// Merges transactions.
///
/// Purges deleted records and also allows transactions to be better compressed.
/// Also reduces overhead in opening transaction files.
Compact {
/// Compact everything into a new main database.
#[clap(short = 'M', long)]
Expand All @@ -72,6 +75,8 @@ enum Command {
/// It is recommended to backup the database first
/// (or make hard links of the files). You probably want to
/// use this with --major to get the entire database.
///
/// The output of the gegnum command must still be in sorted order.
#[clap(long)]
gegnum: Option<OsString>,

Expand Down Expand Up @@ -129,8 +134,8 @@ enum Command {

/// Output only these columns, specified as comma-delimited numbers and hyphenated
/// ranges, as though entered as the "print these pages" text. The first column
/// is '1'.
#[clap(long)]
/// is '1'. Example: 1,3,5-7
#[clap(long, short = 'C')]
columns: Option<String>,
},
}
Expand Down

0 comments on commit cd17933

Please sign in to comment.