Sign in
android
/
platform
/
external
/
rust
/
crates
/
structopt
/
1fc28252fbfe12d52fef073fb44521e9272c6a6f
/
.
/
tests
/
ui
/
skip_with_other_options.rs
blob: 73c53420cbce30eab4cf2feff6d3c01675f336e7 [
file
] [
log
] [
blame
]
use
structopt
::
StructOpt
;
#[
derive
(
StructOpt
,
Debug
)]
#[
structopt
(
name
=
"test"
)]
pub
struct
Opt
{
#[
structopt
(
long
)]
a
:
u32
,
#[
structopt
(
skip
,
long
)]
b
:
u32
,
}
fn
main
()
{
let
opt
=
Opt
::
from_args
();
println
!(
"{:?}"
,
opt
);
}