@@ -48,6 +48,7 @@ static OPT_HUMAN_READABLE_BINARY: &str = "human-readable-binary";
4848static OPT_HUMAN_READABLE_DECIMAL : & str = "human-readable-decimal" ;
4949static OPT_INODES : & str = "inodes" ;
5050static OPT_KILO : & str = "kilo" ;
51+ static OPT_MEGA : & str = "mega" ;
5152static OPT_LOCAL : & str = "local" ;
5253static OPT_NO_SYNC : & str = "no-sync" ;
5354static OPT_OUTPUT : & str = "output" ;
@@ -562,7 +563,7 @@ pub fn uu_app() -> Command {
562563 . short ( 'B' )
563564 . long ( OPT_BLOCKSIZE_LONG )
564565 . value_name ( "SIZE" )
565- . overrides_with_all ( [ OPT_KILO , OPT_BLOCKSIZE ] )
566+ . overrides_with_all ( [ OPT_KILO , OPT_MEGA , OPT_BLOCKSIZE ] )
566567 . help ( translate ! ( "df-help-block-size" ) ) ,
567568 )
568569 . arg (
@@ -600,7 +601,14 @@ pub fn uu_app() -> Command {
600601 Arg :: new ( OPT_KILO )
601602 . short ( 'k' )
602603 . help ( translate ! ( "df-help-kilo" ) )
603- . overrides_with_all ( [ OPT_BLOCKSIZE , OPT_KILO ] )
604+ . overrides_with_all ( [ OPT_BLOCKSIZE , OPT_KILO , OPT_MEGA ] )
605+ . action ( ArgAction :: SetTrue ) ,
606+ )
607+ . arg (
608+ Arg :: new ( OPT_MEGA )
609+ . short ( 'm' )
610+ . help ( translate ! ( "df-help-mega" ) )
611+ . overrides_with_all ( [ OPT_BLOCKSIZE , OPT_KILO , OPT_MEGA ] )
604612 . action ( ArgAction :: SetTrue ) ,
605613 )
606614 . arg (
0 commit comments