@@ -680,7 +680,7 @@ int Cli::run(const RunOptions &options)
680680 commands = filePathMapping (commands, options);
681681
682682 // this lambda will dump reference of containerID, app, base and runtime to
683- // /run/linglong/getuid()/getpid() to store these needed infomation
683+ // /run/linglong/getuid()/getpid() to store these needed information
684684 auto dumpContainerInfo = [&pidFile, &runContext, this ]() -> bool {
685685 LINGLONG_TRACE (" dump info" )
686686 std::error_code ec;
@@ -1782,7 +1782,7 @@ int Cli::content(const ContentOptions &options)
17821782 LogE (" failed to check symlink {}: {}" , file.c_str (), ec.message ());
17831783 }
17841784
1785- // Dont 't mapping the file under /home
1785+ // Don 't mapping the file under /home
17861786 if (auto tmp = target.string (); tmp.rfind (" /home/" , 0 ) == 0 ) {
17871787 return target;
17881788 }
@@ -1812,7 +1812,7 @@ int Cli::content(const ContentOptions &options)
18121812std::vector<std::string> Cli::filePathMapping (const std::vector<std::string> &command,
18131813 const RunOptions &options) const noexcept
18141814{
1815- // FIXME: couldn't handel command like 'll-cli run org.xxx.yyy --file f1 f2 f3 org.xxx.yyy %%F'
1815+ // FIXME: couldn't handle command like 'll-cli run org.xxx.yyy --file f1 f2 f3 org.xxx.yyy %%F'
18161816 // can't distinguish the boundary of command , need validate the command arguments in the future
18171817
18181818 std::vector<std::string> execArgs;
@@ -1858,7 +1858,7 @@ std::vector<std::string> Cli::filePathMapping(const std::vector<std::string> &co
18581858 continue ;
18591859 }
18601860
1861- LogW (" unkown command argument {}" , arg);
1861+ LogW (" unknown command argument {}" , arg);
18621862 }
18631863
18641864 return execArgs;
0 commit comments