What is the best way to handle the error when reading arguments from the CLI?

For example, when the second argument is not provided in the following code?

```
use std::env;

fn main() {
    let filename = env::args().nth(0).unwrap();
    let other_argument = env::args().nth(1).unwrap();
}

```