mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
always build multicall binary
squashed: a2c6b27 - build: automatically generate main() files c942f0f - remove MULTICALL=1 build from travis cb7b35b - make: remove unnecessary shell command 69bbb31 - update README 03a3168 - all: move main() into separate file that links against util crate 8276384 - make: always build multicall binary aa4edeb - make: avoid 'rustc --crate-file-name'
This commit is contained in:
parent
8568d41a09
commit
30bba07f9c
55 changed files with 69 additions and 251 deletions
6
nl/nl.rs
6
nl/nl.rs
|
|
@ -16,7 +16,6 @@ extern crate regex_macros;
|
|||
extern crate regex;
|
||||
extern crate getopts;
|
||||
|
||||
use std::os;
|
||||
use std::io::{stdin};
|
||||
use std::io::BufferedReader;
|
||||
use std::io::fs::File;
|
||||
|
|
@ -75,11 +74,6 @@ enum NumberFormat {
|
|||
RightZero,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn main () {
|
||||
os::set_exit_status(uumain(os::args()));
|
||||
}
|
||||
|
||||
pub fn uumain(args: Vec<String>) -> int {
|
||||
let possible_options = [
|
||||
optopt("b", "body-numbering", "use STYLE for numbering body lines", "STYLE"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue