private static String sanitize ( String key ) { for ( OperaArgumentSign sign : OperaArgumentSign . values ( ) ) { if ( hasSwitch ( key , sign . sign ) ) { return key . substring ( sign . sign . length ( ) ) ; } } return key ; }
Sanitizes an argument that contains a sign . By default we sanitize all added arguments meaning - foo will be sanitized to foo .