]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
updatectl: fix typo and drop space in empty lines
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Aug 2024 09:24:56 +0000 (18:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Aug 2024 14:10:24 +0000 (23:10 +0900)
Follow-ups for ec15bb71c2ccd57702325a6e6626053a343f3511 (#32363).

man/updatectl.xml
src/sysupdate/updatectl.c

index 144fc5a4182988d0dae7c32355e9ef4678d46eb9..3228c808d031fb16793940e0f9be38b5f6aa8331 100644 (file)
@@ -26,7 +26,7 @@
       <command>updatectl</command>
       <arg choice="opt" rep="repeat">OPTIONS</arg>
       <arg choice="req">COMMAND</arg>
-      <arg choise="opt" rep="repeat">TARGET</arg>
+      <arg choice="opt" rep="repeat">TARGET</arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
index 151fa9e1d7a7b8240fa0160a56ab54f3a712ef24..081c89f1e0310e1d9b2bcca24fe779d23f887cee 100644 (file)
@@ -534,7 +534,7 @@ static int describe(sd_bus *bus, const char *target_path, const char *version) {
                 r = terminal_urlify(*url, NULL, &changelog_link);
                 if (r < 0)
                         return log_error_errno(r, "Could not urlify link to change-log: %m");
-                
+
                 printf("ChangeLog: %s\n", strna(changelog_link));
         }
         printf("\n");
@@ -654,7 +654,7 @@ static int check_describe_finished(sd_bus_message *reply, void *userdata, sd_bus
                         NULL);
         if (r < 0)
                 return log_bus_error(r, &error, op->target_id, "get current version");
-        
+
         r = sd_bus_message_read_basic(reply, 's', &current);
         if (r < 0)
                 return bus_log_parse_error(r);
@@ -904,7 +904,7 @@ static int update_finished(sd_bus_message *m, void *userdata, sd_bus_error *erro
 }
 
 static int update_interrupted(sd_event_source *source, void *userdata) {
-        /* Since the event loop is exiting, we will never recieve the JobRemoved
+        /* Since the event loop is exiting, we will never receive the JobRemoved
          * signal. So, we must free the userdata here. */
         _cleanup_(operation_freep) Operation *op = ASSERT_PTR(userdata);
         _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;