File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void DriverDescription(string platform)
7474 {
7575 using var inf = GetInf ( platform ) ;
7676
77- var driverDescription = GetDriverDescription ( inf ) ;
77+ var driverDescription = GetDriverDescription ( inf ) ;
7878
7979 Assert . AreEqual ( Usbipd . Interop . VBoxUsb . DriverDescription , driverDescription ) ;
8080 }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace UnitTests;
99
1010sealed unsafe class SafeInfHandle : SafeHandleZeroOrMinusOneIsInvalid // DevSkim: ignore DS172412
1111{
12- public SafeInfHandle ( void * inf )
12+ public SafeInfHandle ( void * inf )
1313 : base ( true )
1414 {
1515 handle = unchecked ( ( nint ) inf ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ sealed class Device
2020#if ! NETSTANDARD
2121 public
2222#endif
23- Device ( ) { }
23+ Device ( )
24+ { }
2425
2526#if ! NETSTANDARD
2627 [ JsonConstructor ]
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ static byte[] ReadData(string path)
3333 {
3434#if NETSTANDARD
3535 // For PowerShell automation, the usb.ids file is in the assembly directory itself.
36- var dataDirectory = Path . GetDirectoryName ( System . Reflection . Assembly . GetExecutingAssembly ( ) . Location ) ;
36+ var dataDirectory = Path . GetDirectoryName ( System . Reflection . Assembly . GetExecutingAssembly ( ) . Location ) ;
3737#else
3838 // For usbipd, the usb.ids file is in the application base directory.
3939 var dataDirectory = AppContext . BaseDirectory ;
Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ await commandHandlers.List(invocationContext.ParseResult.HasOption(usbidsOption)
503503 )
504504 {
505505 ArgumentHelpName = "BUSID" ,
506- Description = "Share device having <BUSID>" ,
506+ Description = "Add a policy for device having <BUSID>" ,
507507 } . AddCompletions ( CompatibleBusIdCompletions ) ;
508508 //
509509 // policy add [--hardware-id <VID>:<PID>]
@@ -515,7 +515,7 @@ await commandHandlers.List(invocationContext.ParseResult.HasOption(usbidsOption)
515515 )
516516 {
517517 ArgumentHelpName = "VID:PID" ,
518- Description = "Attach device having <VID>:<PID>" ,
518+ Description = "Add a policy for device having <VID>:<PID>" ,
519519 } . AddCompletions ( completionContext => CompletionGuard ( completionContext , ( ) =>
520520 UsbDevice . GetAll ( ) . GroupBy ( d => d . HardwareId ) . Select ( g => g . Key . ToString ( ) ) ) ) ;
521521 //
You can’t perform that action at this time.
0 commit comments